jnicklas/evergreen — Issue #37: bundle exec evergreen run (running specs as part of selenium)
Author: abepetrillo
Created: 2011-11-22 15:27:23+00:00
State: open

I'm trying to get to a stage where the tests run from the command line.

I can't find any documentation on how to get started, I've tried changing the driver in the evergreen config with no luck.

Can someone give an example of how to get this up and running with the Firefox JS engine? Im not that familiar with selenim so noobie steps would be great.

Below is the error I'm getting:

abe@abe-rails-dev:~/DevProjects/SageOne-Ireland$ bundle exec evergreen run

Evergreen is not defined (Selenium::WebDriver::Error::UnexpectedJavascriptError)
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/response.rb:50:in `assert_ok'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/http/common.rb:58:in `new'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/http/common.rb:58:in `create_response'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/http/default.rb:64:in `request'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/http/common.rb:39:in `call'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/bridge.rb:450:in `raw_execute'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/bridge.rb:428:in `execute'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/remote/bridge.rb:236:in `executeScript'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/selenium-webdriver-2.13.0/lib/selenium/webdriver/common/driver.rb:207:in `execute_script'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/capybara-1.1.2/lib/capybara/selenium/driver.rb:74:in `evaluate_script'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/capybara-1.1.2/lib/capybara/session.rb:278:in `evaluate_script'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:53:in `examples'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/capybara-1.1.2/lib/capybara/session.rb:253:in `wait_until'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/capybara-1.1.2/lib/capybara/util/timeout.rb:13:in `timeout'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/capybara-1.1.2/lib/capybara/session.rb:253:in `wait_until'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:52:in `examples'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:78:in `dots'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:128:in `dots'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:128:in `map'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:128:in `dots'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/runner.rb:102:in `run'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/cli.rb:22:in `execute'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/../lib/evergreen/cli.rb:4:in `execute'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/gems/evergreen-1.0.0/bin/evergreen:9
/home/abe/.rvm/gems/ree-1.8.7-2010.02/bin/evergreen:19:in `load'
/home/abe/.rvm/gems/ree-1.8.7-2010.02/bin/evergreen:19