[richfaces-planning-issues] [JBoss JIRA] (RFPL-2330) can't run kitchensink archetype tests because the RuntimeException

Jan Papousek (JIRA) jira-events at lists.jboss.org
Wed Aug 1 05:37:07 EDT 2012


Jan Papousek created RFPL-2330:
----------------------------------

             Summary: can't run kitchensink archetype tests because the RuntimeException
                 Key: RFPL-2330
                 URL: https://issues.jboss.org/browse/RFPL-2330
             Project: RichFaces Planning
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.3.0.M1
            Reporter: Jan Papousek
            Assignee: Juraj Húska


The following exception is thrown:

{code}
java.lang.RuntimeException: Cannot locate /org/openqa/selenium/internal/seleniumemulation/selenium_atoms/isElementPresent.js
	at org.openqa.selenium.internal.seleniumemulation.JavascriptLibrary.readScriptImpl(JavascriptLibrary.java:107)
	at org.openqa.selenium.internal.seleniumemulation.JavascriptLibrary.readScript(JavascriptLibrary.java:97)
	at org.openqa.selenium.internal.seleniumemulation.JavascriptLibrary.getSeleniumScript(JavascriptLibrary.java:52)
	at org.openqa.selenium.internal.seleniumemulation.CompoundMutator.<init>(CompoundMutator.java:67)
	at org.openqa.selenium.WebDriverCommandProcessor.<init>(WebDriverCommandProcessor.java:62)
	at org.openqa.selenium.WebDriverCommandProcessor.<init>(WebDriverCommandProcessor.java:44)
	at org.openqa.selenium.WebDriverBackedSelenium.<init>(WebDriverBackedSelenium.java:31)
	at org.richfaces.tests.archetypes.kitchensink.ftest.common.AbstractKitchensinkTest.loadPage(AbstractKitchensinkTest.java:81)
	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:613)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
	at org.testng.TestRunner.privateRun(TestRunner.java:757)
	at org.testng.TestRunner.run(TestRunner.java:608)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
	at org.testng.TestNG.run(TestNG.java:999)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:177)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
	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:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
{code}

The error is caused by [this line|https://github.com/richfaces/qa/blob/20b9bdbb96116a5e820eb11deb97ccf08436bee5/archetypes/richfaces-kitchensink-ftest/src/test/java/org/richfaces/tests/archetypes/kitchensink/ftest/common/AbstractKitchensinkTest.java#L81].

--
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

       



More information about the richfaces-planning-issues mailing list