[JBoss JIRA] (ARQGRA-273) Intercept WebDriver to return proxies in findElement()/findElements() methods
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-273?page=com.atlassian.jira.plugin... ]
Jan Papousek reopened ARQGRA-273:
---------------------------------
There are some issues, so reopening it.
> Intercept WebDriver to return proxies in findElement()/findElements() methods
> -----------------------------------------------------------------------------
>
> Key: ARQGRA-273
> URL: https://issues.jboss.org/browse/ARQGRA-273
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Reporter: Jan Papousek
> Assignee: Jan Papousek
> Fix For: 2.0.0.Beta1
>
>
> Make elements returned by SearchContext#findElement()/SearchContext#findElements() methods protected to staleness.
> -Graphene injects web element instances to page objects and page fragments which can handle stale element exception. Sometimes one needs to find element manually via WebDriver#findElement(...). It would be nice to provide a method in Graphene API for finding elements returning instances protected to stale element exceptions.-
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1346) cannot run ejb 3.x integrate test using arquillian-glassfish-managed-3.1
by Tang Yong (JIRA)
[ https://issues.jboss.org/browse/ARQ-1346?page=com.atlassian.jira.plugin.s... ]
Tang Yong commented on ARQ-1346:
--------------------------------
Now, the same exception also happened while using arquillian-glassfish-embedded-3.1.
The issue is very fatal and please seeing whether being caused by arquillian glassfish container.
I will upload a new sample with arquillian-glassfish-embedded-3.1.
> cannot run ejb 3.x integrate test using arquillian-glassfish-managed-3.1
> ------------------------------------------------------------------------
>
> Key: ARQ-1346
> URL: https://issues.jboss.org/browse/ARQ-1346
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: GlassFish Containers
> Affects Versions: 1.0.0.CR1
> Environment: 1 Windows XP
> 2 Glassfish 3.1.2.2 or current v4 snapshot
> Reporter: Tang Yong
> Priority: Critical
> Attachments: javaeewithgf.zip, javaeewithgf.zip, server.log
>
>
> Today, I trigger a problem[1] about arquillian glassfish integrated test
> again on Glassfish 3.1.2.2 or current Glassfish 4.0-SNAPSHOT.
> [1]:
> http://stackoverflow.com/questions/8677780/cannot-deploy-jar-file-with-ej...
> The attachment(javaeewithgf.zip) is my modified sample based on
> "Enterprise JavaBeans 3.1, 6th Edition " using
> arquillian-glassfish-managed-3.1.
> And the attachment(server.log) is the result of running on current
> Glassfish 4.0-SNAPSHOT.
> The issue is very critical because test scene is very simple.
> I will upload the attachments.
--
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
11 years, 10 months
[JBoss JIRA] (ARQGRA-273) Intercept WebDriver to return proxies in findElement()/findElements() methods
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-273?page=com.atlassian.jira.plugin... ]
Jan Papousek updated ARQGRA-273:
--------------------------------
Description:
Make elements returned by SearchContext#findElement()/SearchContext#findElements() methods protected to staleness.
-Graphene injects web element instances to page objects and page fragments which can handle stale element exception. Sometimes one needs to find element manually via WebDriver#findElement(...). It would be nice to provide a method in Graphene API for finding elements returning instances protected to stale element exceptions.-
was:Graphene injects web element instances to page objects and page fragments which can handle stale element exception. Sometimes one needs to find element manually via WebDriver#findElement(...). It would be nice to provide a method in Graphene API for finding elements returning instances protected to stale element exceptions.
> Intercept WebDriver to return proxies in findElement()/findElements() methods
> -----------------------------------------------------------------------------
>
> Key: ARQGRA-273
> URL: https://issues.jboss.org/browse/ARQGRA-273
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Reporter: Jan Papousek
> Assignee: Jan Papousek
> Fix For: 2.0.0.Beta1
>
>
> Make elements returned by SearchContext#findElement()/SearchContext#findElements() methods protected to staleness.
> -Graphene injects web element instances to page objects and page fragments which can handle stale element exception. Sometimes one needs to find element manually via WebDriver#findElement(...). It would be nice to provide a method in Graphene API for finding elements returning instances protected to stale element exceptions.-
--
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
11 years, 10 months
[JBoss JIRA] (ARQGRA-273) Intercept WebDriver to return proxies in findElement()/findElements() methods
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-273?page=com.atlassian.jira.plugin... ]
Jan Papousek updated ARQGRA-273:
--------------------------------
Summary: Intercept WebDriver to return proxies in findElement()/findElements() methods (was: Provide utilty method in Graphene class to find element)
> Intercept WebDriver to return proxies in findElement()/findElements() methods
> -----------------------------------------------------------------------------
>
> Key: ARQGRA-273
> URL: https://issues.jboss.org/browse/ARQGRA-273
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Reporter: Jan Papousek
> Assignee: Jan Papousek
> Fix For: 2.0.0.Beta1
>
>
> Graphene injects web element instances to page objects and page fragments which can handle stale element exception. Sometimes one needs to find element manually via WebDriver#findElement(...). It would be nice to provide a method in Graphene API for finding elements returning instances protected to stale element exceptions.
--
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
11 years, 10 months
[JBoss JIRA] (ARQ-1347) Not possible to run a spock test w/o arquillian
by Bartosz Majsak (JIRA)
[ https://issues.jboss.org/browse/ARQ-1347?page=com.atlassian.jira.plugin.s... ]
Bartosz Majsak edited comment on ARQ-1347 at 3/8/13 6:23 AM:
-------------------------------------------------------------
Good hint, thanks a lot for the feedback. I think we can leverage [AbstractAnnotationDrivenExtension|https://github.com/spockframework/smart...] stuff for that.
was (Author: bmajsak):
Good hint, thanks a lot for the feedback. I think we can leverage AbstractAnnotationDrivenExtension stuff for that.
> Not possible to run a spock test w/o arquillian
> -----------------------------------------------
>
> Key: ARQ-1347
> URL: https://issues.jboss.org/browse/ARQ-1347
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Spock TestRunner
> Affects Versions: spock_1.0.0.Alpha2
> Reporter: Fabian Schwarzer
> Assignee: Bartosz Majsak
> Fix For: spock_1.0.0.next
>
>
> If I use spock to implement my unit tests and my arquillian tests, it is not possible to run spock (unit) tests w/o Arquillian any more. Afaik this is possible if JUnit is used. Annotate them with @Arquillian -> running as Arquillian test; Don't annotate them -> running as "normal" unit tests.
> I would like to have this behaviour with spock as well.
--
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
11 years, 10 months