[JBoss JIRA] (ARQGRA-422) Regression in request guard
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-422?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-422:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> 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
> FF 25 && Chrome
> Reporter: Pavol Pitonak
> Assignee: Juraj Húska
> Priority: Blocker
> Fix For: 2.0.2.Final
>
>
> 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/met...
> 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@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
12 years
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Lukáš Fryč resolved ARQGRA-424.
-------------------------------
Assignee: Petr Mensik
Resolution: Done
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
> Assignee: Petr Mensik
> Fix For: 2.0.2.Final
>
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an {{java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType}} which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in the all classes in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{code}
--
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
12 years
[JBoss JIRA] (ARQGRA-422) Regression in request guard
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-422?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-422:
------------------------------
Fix Version/s: 2.0.2.Final
> 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
> FF 25 && Chrome
> Reporter: Pavol Pitonak
> Assignee: Juraj Húska
> Priority: Blocker
> Fix For: 2.0.2.Final
>
>
> 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/met...
> 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@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
12 years
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-424:
------------------------------
Fix Version/s: 2.0.2.Final
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
> Fix For: 2.0.2.Final
>
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an {{java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType}} which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in the all classes in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{code}
--
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
12 years
[JBoss JIRA] (ARQ-1704) Implement replacement for AndroidDriver dropped in Selenium 2.40
by Stefan Miklosovic (JIRA)
Stefan Miklosovic created ARQ-1704:
--------------------------------------
Summary: Implement replacement for AndroidDriver dropped in Selenium 2.40
Key: ARQ-1704
URL: https://issues.jboss.org/browse/ARQ-1704
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: droidium_1.0.0.Alpha4
Reporter: Stefan Miklosovic
Drone 1.3.0.Final will depend on Selenium 2.40 where AndroidDriver is dropped hence support is dropped from Drone as well.
Implement Android-like driver directly in Droidium as a replacement.
--
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
12 years
[JBoss JIRA] (ARQGRA-422) Regression in request guard
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-422?page=com.atlassian.jira.plugin... ]
Juraj Húska updated ARQGRA-422:
-------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/arquillian/arquillian-graphene/pull/100
I am linking a PR with fix.
> 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
> FF 25 && Chrome
> Reporter: Pavol Pitonak
> Assignee: Juraj Húska
> Priority: Blocker
>
> 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/met...
> 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@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
12 years
[JBoss JIRA] (ARQGRA-422) Regression in request guard
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-422?page=com.atlassian.jira.plugin... ]
Juraj Húska updated ARQGRA-422:
-------------------------------
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
FF 25 && Chrome
was:
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
> 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
> FF 25 && Chrome
> Reporter: Pavol Pitonak
> Assignee: Juraj Húska
> Priority: Blocker
>
> 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/met...
> 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@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
12 years
[JBoss JIRA] (ARQGRA-422) Regression in request guard
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-422?page=com.atlassian.jira.plugin... ]
Juraj Húska updated ARQGRA-422:
-------------------------------
Steps to Reproduce:
# git clone https://github.com/richfaces/richfaces-qa.git
# git checkout requestGuardReproducer
# mvn clean install -DskipTests -Prelease
# cd metamer/ftest
# mvn clean verify -P jbossas-managed-7-1 -Dtest=TestRequestGuardWithNotifyMessage
was:
# git clone https://github.com/richfaces/richfaces-qa.git
# git checkout requestGuardReproducer
# cd metamer/ftest
# mvn clean verify -P jbossas-managed-7-1 -Dtest=TestRequestGuardWithNotifyMessage
> 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
> Assignee: Juraj Húska
> Priority: Blocker
>
> 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/met...
> 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@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
12 years