[JBoss JIRA] (ARQ-1077) Persistence Plugin does not work with Drone/Graphene
by Felipe Reis (JIRA)
[ https://issues.jboss.org/browse/ARQ-1077?page=com.atlassian.jira.plugin.s... ]
Felipe Reis commented on ARQ-1077:
----------------------------------
I am using that workaround as well, my test class has the exact same structure as yours. However the data is available only at the test annotated with InSequence(1).
Aslak had pointed out that possibility and [~edevera] had this exact same issue as he stated in [this comment|https://issues.jboss.org/browse/ARQ-1077?focusedCommentId=1276479...]
Maybe you're doing something slightly different from us, but I'm having a hard time figuring that out.
{code}
@RunWith(Arquillian.class)
@DataSource("java:jboss/datasources/ExampleDS")
@UsingDataSet("OneUserAccount-Admin.yml")
public class DroneTestIT {
@Deployment(testable = true)
public static WebArchive createDeployment() {
// Create Archive
}
@Test
@InSequence(1)
public void setupDatabase(){
// I can query data from here
}
@Test
@InSequence(2)
@RunAsClient
public void ifNavigationTabsCorrectWhenLoggedInThenPass(@ArquillianResource URL applicationPath, @Drone GrapheneSelenium browser) {
// ... but here the database seems to be empty
}
}
{code}
> Persistence Plugin does not work with Drone/Graphene
> ----------------------------------------------------
>
> Key: ARQ-1077
> URL: https://issues.jboss.org/browse/ARQ-1077
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone, Extension - Persistence
> Environment: JBoss AS 7 Container
> Reporter: Bryan Saunders
> Labels: drone, persistence
>
> Persistence Extension does not execute when being used with the Drone/Graphene extensions. When you run the tests in Client Mode the @UsingDataSet annotations do not trigger and populate the database. @ApplyScriptBefore also does not work.
--
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
10 years, 10 months
[JBoss JIRA] (ARQ-1077) Persistence Plugin does not work with Drone/Graphene
by Bryan Saunders (JIRA)
[ https://issues.jboss.org/browse/ARQ-1077?page=com.atlassian.jira.plugin.s... ]
Bryan Saunders commented on ARQ-1077:
-------------------------------------
I was able to get it working using the mixed mode workaround method described here: https://issues.jboss.org/browse/ARQ-1077?focusedCommentId=12713189&page=c...
What I found though was that I had to do all of my Database setup in the first test, and if I needed to reconfigure the database for a different test I had to put it in a different class.
I never tried to get it working with Warp as I got pulled on to another project before I had a chance.
> Persistence Plugin does not work with Drone/Graphene
> ----------------------------------------------------
>
> Key: ARQ-1077
> URL: https://issues.jboss.org/browse/ARQ-1077
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone, Extension - Persistence
> Environment: JBoss AS 7 Container
> Reporter: Bryan Saunders
> Labels: drone, persistence
>
> Persistence Extension does not execute when being used with the Drone/Graphene extensions. When you run the tests in Client Mode the @UsingDataSet annotations do not trigger and populate the database. @ApplyScriptBefore also does not work.
--
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
10 years, 10 months
[JBoss JIRA] (ARQ-1077) Persistence Plugin does not work with Drone/Graphene
by Felipe Reis (JIRA)
[ https://issues.jboss.org/browse/ARQ-1077?page=com.atlassian.jira.plugin.s... ]
Felipe Reis commented on ARQ-1077:
----------------------------------
At first I was getting a *ClassNotFoundException* as pointed out by [~aslak]. All I had to do to get it to work was add *org.seleniumhq.selenium:selenium-java* dependencies to my archive and that problem was solved.
However, it seems like the data is being deleted from the database just before the second test initiates.
[~btsaunde]what solution did you find for this?
> Persistence Plugin does not work with Drone/Graphene
> ----------------------------------------------------
>
> Key: ARQ-1077
> URL: https://issues.jboss.org/browse/ARQ-1077
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone, Extension - Persistence
> Environment: JBoss AS 7 Container
> Reporter: Bryan Saunders
> Labels: drone, persistence
>
> Persistence Extension does not execute when being used with the Drone/Graphene extensions. When you run the tests in Client Mode the @UsingDataSet annotations do not trigger and populate the database. @ApplyScriptBefore also does not work.
--
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
10 years, 10 months
[JBoss JIRA] (ARQGRA-327) Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-327?page=com.atlassian.jira.plugin... ]
Pavol Pitonak commented on ARQGRA-327:
--------------------------------------
Selenium BOM 2.35 was synced to Maven Central (that's why BuildHive build failed).
> Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
> ----------------------------------------------------------------------------------------------------------------
>
> Key: ARQGRA-327
> URL: https://issues.jboss.org/browse/ARQGRA-327
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Marek Schmidt
> Priority: Blocker
> Fix For: 2.0.0.Alpha5
>
>
> Selenium 2.35.0 removed some deprecated interactions interfaces (Keyboard, Mouse, TouchScreen, ...), see
> https://code.google.com/p/selenium/source/detail?r=a740bb5e4a7211a085b3b5...
> Graphene should migrate to the non-deprecated, non-removed APIs
--
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
10 years, 10 months
[JBoss JIRA] (ARQGRA-319) Cannot interact with WebElement nested in not visible page fragment found by jquery
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-319?page=com.atlassian.jira.plugin... ]
Jiří Štefek resolved ARQGRA-319.
--------------------------------
Resolution: Cannot Reproduce Bug
Seems to be resolved in latest snapshots.
> Cannot interact with WebElement nested in not visible page fragment found by jquery
> -----------------------------------------------------------------------------------
>
> Key: ARQGRA-319
> URL: https://issues.jboss.org/browse/ARQGRA-319
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Jiří Štefek
>
> When you have a fragment, which is conditionally visible and that fragment has some WebElement found by jquery, then that WebElement cannot be interacted with (i.e. checking presence), when its parent (the fragment) is not visible.
> When the element is found by other methods than jquery, then it works (i.e. WebElement's presence can be checked).
> Example Test:
> {code}
> @FindBy(css = "[id='someID']")// not present
> private Fragment fragment;
>
> @Test
> public void testPresenceBAD() {
> Graphene.waitGui().until().element(fragment.getInnerFoundByJQUERY()).is().not().present();
> }
> @Test
> public void testPresenceOK() {
> Graphene.waitGui().until().element(fragment.getInnerFoundByCSS()).is().not().present();
> }
> public static class Fragment {
> @FindBy(jquery = "[id='someIDInner']")
> private WebElement innerFoundByJQUERY;
> @FindBy(css = "[id='someIDInner']")
> private WebElement innerFoundByCSS;
> public WebElement getInnerFoundByCSS() {
> return innerFoundByCSS;
> }
> public WebElement getInnerFoundByJQUERY() {
> return innerFoundByJQUERY;
> }
> }
> {code}
> Stack Trace:
> {code}
> org.openqa.selenium.WebDriverException: Can not locate element using selector [id='someIDInner'] Check out whether it is correct!
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Driver info: driver.version: unknown
> at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:74)
> at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElement(ByJQuery.java:82)
> at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:145)
> at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:110)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:293)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.getTarget(GrapheneProxyHandler.java:193)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:166)
> at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:50)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:86)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:27)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:23)
> at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
> at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
> at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
> at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
> at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:23)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:86)
> at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:118)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:86)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$2.call(GrapheneProxyHandler.java:216)
> at org.jboss.arquillian.graphene.BrowserActions.performAction(BrowserActions.java:62)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:212)
> at com.sun.proxy.$Proxy21.isDisplayed(Unknown Source)
> at org.jboss.arquillian.graphene.condition.element.ElementIsPresent.check(ElementIsPresent.java:44)
> at org.jboss.arquillian.graphene.condition.element.ElementIsPresent.check(ElementIsPresent.java:31)
> at org.jboss.arquillian.graphene.condition.element.AbstractElementBooleanCondition.apply(AbstractElementBooleanCondition.java:50)
> at org.jboss.arquillian.graphene.condition.element.AbstractElementBooleanCondition.apply(AbstractElementBooleanCondition.java:33)
> at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
> at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:100)
> at org.jboss.arquillian.graphene.wait.WebDriverWait.commit(WebDriverWait.java:108)
> at org.jboss.arquillian.graphene.wait.IsNotElementBuilderImpl.present(IsNotElementBuilderImpl.java:47)
> at org.jboss.arquillian.graphene.ftest.issues.ARQGRAxxTestCase.testPresenceBAD(ARQGRAxxTestCase.java:67)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)
> at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
> at org.jboss.arquillian.graphene.ftest.intercept.InterceptorRegistrationExtension.register_interceptor(InterceptorRegistrationExtension.java:38)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
> at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
> at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
> at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
> at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
> at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
> at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
> at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
> at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
> at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
> at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
> at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
> Caused by: java.lang.IllegalStateException: Can't invoke the javacript org.jboss.arquillian.graphene.enricher.findby.JQuerySearchContext#findElementsInElement()
> at org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.execute(DefaultExecutionResolver.java:81)
> at org.jboss.arquillian.graphene.javascript.JSInterfaceHandler.intercept(JSInterfaceHandler.java:35)
> at org.jboss.arquillian.graphene.cglib.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByGraphene$$71811c15.findElementsInElement(<generated>)
> at org.jboss.arquillian.graphene.enricher.findby.ByJQuery.findElements(ByJQuery.java:65)
> ... 128 more
> Caused by: java.lang.RuntimeException: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"[id='someID']"}
> Command duration or timeout: 11 milliseconds
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Session ID: be697b9d-9e85-47e2-8458-b6f6bf5cd5ff
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Capabilities [{platform=LINUX, databaseEnabled=true, cssSelectorsEnabled=true, javascriptEnabled=true, acceptSslCerts=true, handlesAlerts=true, browserName=firefox, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=18.0.2}]
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Driver info: driver.version: RemoteWebDriver
> at org.jboss.arquillian.graphene.javascript.JavaScriptUtils.execute(JavaScriptUtils.java:48)
> at org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.executeScriptForCall(DefaultExecutionResolver.java:134)
> at org.jboss.arquillian.graphene.javascript.DefaultExecutionResolver.execute(DefaultExecutionResolver.java:75)
> ... 131 more
> Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"[id='someID']"}
> Command duration or timeout: 11 milliseconds
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Session ID: be697b9d-9e85-47e2-8458-b6f6bf5cd5ff
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Capabilities [{platform=LINUX, databaseEnabled=true, cssSelectorsEnabled=true, javascriptEnabled=true, acceptSslCerts=true, handlesAlerts=true, browserName=firefox, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=18.0.2}]
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Driver info: driver.version: RemoteWebDriver
> at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:112)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.getTarget(GrapheneProxyHandler.java:293)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:116)
> at com.sun.proxy.$Proxy21.unwrap(Unknown Source)
> at org.jboss.arquillian.graphene.enricher.WrapsElementInterceptor.intercept(WrapsElementInterceptor.java:17)
> at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:79)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:86)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$2.call(GrapheneProxyHandler.java:216)
> at org.jboss.arquillian.graphene.BrowserActions.performAction(BrowserActions.java:62)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:212)
> at com.sun.proxy.$Proxy21.getWrappedElement(Unknown Source)
> at org.openqa.selenium.remote.internal.WebElementToJsonConverter.apply(WebElementToJsonConverter.java:48)
> at com.google.common.collect.Iterators$8.transform(Iterators.java:860)
> at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
> at com.google.common.collect.Lists.newArrayList(Lists.java:145)
> at com.google.common.collect.Lists.newArrayList(Lists.java:125)
> at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:459)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invokeReal(GrapheneProxyHandler.java:274)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$1.invoke(GrapheneProxyHandler.java:166)
> at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:50)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:86)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:27)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor$1.apply(StaleElementInterceptor.java:23)
> at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:177)
> at org.openqa.selenium.support.ui.FluentWait$1.apply(FluentWait.java:175)
> at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
> at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:175)
> at org.jboss.arquillian.graphene.wait.WebDriverWait.until(WebDriverWait.java:85)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:23)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:86)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler$2.call(GrapheneProxyHandler.java:216)
> at org.jboss.arquillian.graphene.BrowserActions.performAction(BrowserActions.java:62)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.invoke(GrapheneProxyHandler.java:212)
> at org.jboss.arquillian.graphene.proxy.GrapheneProxyHandler.intercept(GrapheneProxyHandler.java:236)
> at org.openqa.selenium.firefox.FirefoxDriver$$EnhancerByGraphene$$977642ad.executeScript(<generated>)
> at org.jboss.arquillian.graphene.javascript.JavaScriptUtils.execute(JavaScriptUtils.java:45)
> ... 133 more
> Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"css selector","selector":"[id='someID']"}
> Command duration or timeout: 11 milliseconds
> For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Session ID: be697b9d-9e85-47e2-8458-b6f6bf5cd5ff
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Capabilities [{platform=LINUX, databaseEnabled=true, cssSelectorsEnabled=true, javascriptEnabled=true, acceptSslCerts=true, handlesAlerts=true, browserName=firefox, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=18.0.2}]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:187)
> at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
> at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
> at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
> at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:396)
> at org.openqa.selenium.By$ByCssSelector.findElement(By.java:406)
> at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
> at org.jboss.arquillian.graphene.enricher.WebElementUtils.dropProxyAndFindElement(WebElementUtils.java:148)
> at org.jboss.arquillian.graphene.enricher.WebElementUtils$5.getTarget(WebElementUtils.java:110)
> ... 172 more
> Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Unable to locate element: {"method":"css selector","selector":"[id='someID']"}
> Build info: version: '2.31.0', revision: '1bd294d185a80fa4206dfeab80ba773c04ac33c0', time: '2013-02-27 13:51:26'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.11-4.fc16.x86_64', java.version: '1.7.0_21'
> Driver info: driver.version: unknown
> at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous2487600520145988392webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8281)
> at <anonymous class>.FirefoxDriver.prototype.findElement(file:///tmp/anonymous2487600520145988392webdriver-profile/extensions/fxdriver@googlecode.com/components/driver_component.js:8290)
> at <anonymous class>.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous2487600520145988392webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10272)
> at <anonymous class>.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous2487600520145988392webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10277)
> at <anonymous class>.DelayedCommand.prototype.execute/<(file:///tmp/anonymous2487600520145988392webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10217)
> {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
10 years, 10 months
[JBoss JIRA] (ARQGRA-327) Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-327?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-327:
------------------------------
Fix Version/s: 2.0.0.Alpha5
> Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
> ----------------------------------------------------------------------------------------------------------------
>
> Key: ARQGRA-327
> URL: https://issues.jboss.org/browse/ARQGRA-327
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Marek Schmidt
> Priority: Blocker
> Fix For: 2.0.0.Alpha5
>
>
> Selenium 2.35.0 removed some deprecated interactions interfaces (Keyboard, Mouse, TouchScreen, ...), see
> https://code.google.com/p/selenium/source/detail?r=a740bb5e4a7211a085b3b5...
> Graphene should migrate to the non-deprecated, non-removed APIs
--
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
10 years, 10 months
[JBoss JIRA] (ARQGRA-327) Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
by Marek Schmidt (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-327?page=com.atlassian.jira.plugin... ]
Marek Schmidt updated ARQGRA-327:
---------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/arquillian/arquillian-graphene/pull/85
> Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
> ----------------------------------------------------------------------------------------------------------------
>
> Key: ARQGRA-327
> URL: https://issues.jboss.org/browse/ARQGRA-327
> Project: Arquillian Graphene
> Issue Type: Bug
> Reporter: Marek Schmidt
> Priority: Blocker
>
> Selenium 2.35.0 removed some deprecated interactions interfaces (Keyboard, Mouse, TouchScreen, ...), see
> https://code.google.com/p/selenium/source/detail?r=a740bb5e4a7211a085b3b5...
> Graphene should migrate to the non-deprecated, non-removed APIs
--
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
10 years, 10 months
[JBoss JIRA] (ARQGRA-327) Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
by Marek Schmidt (JIRA)
Marek Schmidt created ARQGRA-327:
------------------------------------
Summary: Graphene depends on deprecated interactions interfaces (Keyboard, Mouse, TouchScreen) removed in selenium 2.35.0
Key: ARQGRA-327
URL: https://issues.jboss.org/browse/ARQGRA-327
Project: Arquillian Graphene
Issue Type: Bug
Reporter: Marek Schmidt
Priority: Blocker
Selenium 2.35.0 removed some deprecated interactions interfaces (Keyboard, Mouse, TouchScreen, ...), see
https://code.google.com/p/selenium/source/detail?r=a740bb5e4a7211a085b3b5...
Graphene should migrate to the non-deprecated, non-removed APIs
--
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
10 years, 10 months
[JBoss JIRA] (ARQ-1458) Arquilian tests failed with RuntileException Could not inject members
by Thomas Lallart (JIRA)
Thomas Lallart created ARQ-1458:
-----------------------------------
Summary: Arquilian tests failed with RuntileException Could not inject members
Key: ARQ-1458
URL: https://issues.jboss.org/browse/ARQ-1458
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 1.1.1.Final, 1.1.0.Final, 1.0.4.Final
Environment: Linux, JEE6, Embedded Glassfish 3.1.1, JPA, CDI, Arquilian 1.0.4 & Arquilian 1.1.0
Reporter: Thomas Lallart
When running more integration tests with Arquilian on Embedded Glassfish, some tests failed with message :
java.lang.RuntimeException: Could not inject members
at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.injectClass(CDIInjectionEnricher.java:135)
at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.enrich(CDIInjectionEnricher.java:78)
at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
...
Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
at org.jboss.weld.manager.SimpleInjectionTarget$1.proceed(SimpleInjectionTarget.java:120)
See also https://community.jboss.org/message/830718
--
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
10 years, 10 months