[JBoss JIRA] (ARQAJO-100) Allow user to fail tests with AssertionError() with wait* objects
by Karel Piwko (Created) (JIRA)
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.0.0.CR2
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
14 years, 2 months
[JBoss JIRA] Created: (ARQ-533) Support Qualifiers on @ArquillianResource in ResourceProvider's SPI
by Aslak Knutsen (JIRA)
Support Qualifiers on @ArquillianResource in ResourceProvider's SPI
-------------------------------------------------------------------
Key: ARQ-533
URL: https://issues.jboss.org/browse/ARQ-533
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Base Implementation
Reporter: Aslak Knutsen
Fix For: 1.1.0.Beta1
ResourceProvider only support the @ArquillianResource annotation, in some cases we need to be able to specify more metadata for a injection point. Following CDI, we can add Qualifier annotations.
@ArquillianResource(MyServlet.class) @Container("container-1")
private URL url;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months