dimanche 28 septembre 2014

Running selenium tests in ruby with Jenkins


Vote count:

0




I'm trying to set up CI on my local machine running on Mac. To do so I use Xubuntu virtual machine, Jenkins, and some simple selenium tests. tests on github


I get fresh install of Xubuntu, where I install Jenkins using official manual. In Jenkins I installed some plugins(git, ruby, rake, rbenv). In job config I use rbenv wrapper with igonrence of os versions, also I use this gemlist:



bundler,rake,rspec,selenium-webdriver,capybara


and running that job with



rspec spec


And when I run this job I recieve something like that for every test:



Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)



full output is here


it looks like jenkins user have no access to display to run/see firefox. Anyone know how to make it work?



asked 21 secs ago







Running selenium tests in ruby with Jenkins

Aucun commentaire:

Enregistrer un commentaire