public
Last active

  • Download Gist
ci woes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
$ cd ~/clients
$ DISPLAY=:1; bundle exec cucumber features/web-client/test.feature --format progress
Using the default profile...
F.F.F--
 
(::) failed steps (::)
 
unable to obtain stable firefox connection in 60 seconds (Selenium::WebDriver::Error::WebDriverError)
./features/web-client/step_definitions/elements.rb:4:in `evaluate_script'
./features/web-client/step_definitions/web.rb:53:in `__instance_exec_609716008'
features/web-client/test.feature:10:in `And I am logged in as "Santo"'
 
Failing Scenarios:
cucumber features/web-client/test.feature:17 # Scenario: view the feed
 
1 scenario (1 failed)
4 steps (1 failed, 2 skipped, 1 passed)
2m1.756s

hi, jxson!

do you remember what you did to solve this issue?

I'm having the same problem while running a cucumber suite in linux, in my hudson CI environment, and I've seen nothing about it on the net =/.

thanks!

Hey rodrigues,

yeah, getting this going was kinda silly.

I think the missing piece in this gist was making sure tightvnc was running and:

export DISPLAY=:1 &&

without the export your tests wont be able to run properly, this link might help you out too:
http://www.codigoergosum.com/2009/09/25/cucumber-meets-selenium-meets-integrity.html

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.