[arquillian-issues] [JBoss JIRA] (ARQGRA-422) Regression in request guard

Pavol Pitonak (JIRA) issues at jboss.org
Thu Feb 20 03:13:47 EST 2014


Pavol Pitonak created ARQGRA-422:
------------------------------------

             Summary: Regression in request guard
                 Key: ARQGRA-422
                 URL: https://issues.jboss.org/browse/ARQGRA-422
             Project: Arquillian Graphene
          Issue Type: Bug
          Components: core
    Affects Versions: 2.0.1.Final
         Environment: RichFaces 5.0.0-SNAPSHOT
Arquillian Core 1.1.2.Final
Arquillian Drone 1.2.3.Final
Arquillian Graphene 2.0.1.Final
Selenium 2.39.0
            Reporter: Pavol Pitonak


I have a simple page with two inputs, a submit button and two notify messages (one for each input) -
https://github.com/richfaces/richfaces-qa/blob/requestGuardReproducer/metamer/application/src/main/webapp/components/richNotifyMessage/guardReproducer.xhtml

When you guard ajax request when button is clicked, it fails with timeout:
{code}
org.openqa.selenium.TimeoutException: Timed out after 2 seconds waiting for org.jboss.arquillian.graphene.guard.RequestGuardFactory$RequestIsDone at 19eda624
{code}

* when you run test (in Steps to Reproduce) all three tests fail on request guard (guarding Ajax request)
* it doesn't matter how WebElement is obtained (WebDriver.find, \@FindBy or \@Page
* these tests fail only when two validation errors are on page, i.e. when two notifyMessage components are displayed
** e.g. change value of second input from 888 to 8 in guardReproducer.xhtml and it will work
* worked fine with Graphene 2.0.0.Final

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list