jsuereth / sbt-in-action-examples

Source code examples for the book "sbt in Action"
144 stars 54 forks source link

Selenium problems #19

Open webdeveloperfront opened 8 years ago

webdeveloperfront commented 8 years ago

Hello i got the boot, and following your examples, i had one problem on chapter 5 , Selenium test's.

this is the error that i had:

Starting ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) on port 3483
Only local connections are allowed.
[info] SeleniumSpec:
[info] Home page
[info] - should redirect to kitten list *** FAILED ***
[info]   "http://localhost:4444/" did not start with substring "http://localhost:4444/kittens" (SeleniumSpec.scala:22)
[info] - should show three dropdown lists of attributes in sorted order *** FAILED ***
[info]   0 was not equal to 20 (SeleniumSpec.scala:28)
[info] Run completed in 5 seconds, 995 milliseconds.
[info] Total number of tests run: 2
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 0, failed 2, canceled 0, ignored 0, pending 0
[info] *** 2 TESTS FAILED ***

I have Selenium running also and working on port 4444 with :+1: selenium-server -port 4444

What is wrong ?

Thanks

matthewfarwell commented 8 years ago

You shouldn't need to start a selenium server yourself. Can you see anything when chrome opens?