[
https://issues.jboss.org/browse/ARQAJO-100?page=com.atlassian.jira.plugin...
]
Lukáš Fryč updated ARQAJO-100:
------------------------------
Affects Version/s: 1.1.0.Tracking
(was: 1.0.0.CR2)
Allow user to fail tests with AssertionError() with wait* objects
-----------------------------------------------------------------
Key: ARQAJO-100
URL:
https://issues.jboss.org/browse/ARQAJO-100
Project: Arquillian Ajocado
Issue Type: Feature Request
Components: core
Affects Versions: 1.1.0.Tracking
Reporter: Karel Piwko
Assignee: Lukáš Fryč
Expecting user want to fail (e.g. marking as failure instead of error) his test if some
element is not present:
{code}
waitModel.failWith(new AssertionError("Invalid message not
present")).until(elementPresent.locator(REG_INVALID));
{code}
This is not possible. User has do to it following way.
{code}
waitModel.dontFail().until(elementPresent.locator(REG_INVALID));
Assert.assertTrue("Invalid message not present",
selenium.isElementPresent(REG_INVALID));
{code}
This is either an usability problem or a complete misunderstood of the usage by myself.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira