You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local test SeleniumIT fails to get the webpage to load.
To repro:
Launch the application on your local environment (mvn package cargo:run)
Run the test SeleniumIT
View the results of the test
Note: I made some changes to the test and changed the index from “driver.get(p.("/"));
to “driver.get(p.("/webtest-quickstart"));
and that solved the problem as the http://webtest_hostname:8080/ does not load the hello world page; however http://webtest_hostname:8080/webtest-quickstart does.
Error:
Testcase: requiresSauceConnect2: FAILED
null
junit.framework.AssertionFailedError
at com.dynacrongroup.sample.local.SeleniumIT.requiresSauceConnect(SeleniumIT.java:55)
at com.dynacrongroup.sample.local.SeleniumIT.requiresSauceConnect(SeleniumIT.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Testcase: requiresSauceConnect1: FAILED
null
junit.framework.AssertionFailedError
at com.dynacrongroup.sample.local.SeleniumIT.requiresSauceConnect(SeleniumIT.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
The text was updated successfully, but these errors were encountered:
Right now, "/webtest-quickstart" is set as the "WEBDRIVER_CONTEXT" in the pom, so it will work if it is run from the command line. If you run it in the IDE, then you'll need to specify that as a VM property.
Issue:
Local test SeleniumIT fails to get the webpage to load.
To repro:
Note: I made some changes to the test and changed the index from “driver.get(p.("/"));
to “driver.get(p.("/webtest-quickstart"));
and that solved the problem as the http://webtest_hostname:8080/ does not load the hello world page; however http://webtest_hostname:8080/webtest-quickstart does.
Error:
Testcase: requiresSauceConnect2: FAILED
null
junit.framework.AssertionFailedError
at com.dynacrongroup.sample.local.SeleniumIT.requiresSauceConnect(SeleniumIT.java:55)
at com.dynacrongroup.sample.local.SeleniumIT.requiresSauceConnect(SeleniumIT.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Testcase: requiresSauceConnect1: FAILED
null
junit.framework.AssertionFailedError
at com.dynacrongroup.sample.local.SeleniumIT.requiresSauceConnect(SeleniumIT.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
The text was updated successfully, but these errors were encountered: