Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Getting Test::Right to work with Sauce Labs #11

Open
thefotios opened this issue Oct 5, 2011 · 0 comments
Open

Getting Test::Right to work with Sauce Labs #11

thefotios opened this issue Oct 5, 2011 · 0 comments

Comments

@thefotios
Copy link

I am trying to get some very basic tests working so I can start porting my Selenium code to Test::Right. When I run it on my dev server, I get the following error. I am running Sauce connect and my Selenium based tests run fine through it. Are there extra configuration steps needed to use Sauce connect?

[root@ip-10-245-211-127 site]# bundle exec test_right
Running 1 features
Failed:
  LoginFeature
    test_logging_in => Selenium::WebDriver::Error::WebDriverError - unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/firefox/launcher.rb:77:in `connect_until_stable'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/firefox/launcher.rb:37:in `launch'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/firefox/socket_lock.rb:20:in `locked'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/firefox/launcher.rb:32:in `launch'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/firefox/bridge.rb:19:in `initialize'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/common/driver.rb:29:in `new'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver/common/driver.rb:29:in `for'
      /usr/lib/ruby/gems/1.8/gems/selenium-webdriver-2.7.0/lib/selenium/webdriver.rb:81:in `for'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/browser_driver.rb:11:in `initialize'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/runner.rb:66:in `new'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/runner.rb:66:in `run_test'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/runner.rb:51:in `run_feature'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/batch.rb:101:in `call'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/batch.rb:101:in `send_to_threadpool'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:72:in `call'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:72:in `spawn_thread'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:63:in `initialize'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:63:in `new'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:63:in `spawn_thread'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:34:in `initialize'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:34:in `times'
      /usr/lib/ruby/gems/1.8/gems/threadz-0.1.3/lib/threadz/thread_pool.rb:34:in `initialize'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/runner.rb:14:in `new'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/runner.rb:14:in `initialize'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/cli.rb:34:in `new'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/cli.rb:34:in `load_and_run_tests'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/lib/test/right/cli.rb:14:in `start'
      /usr/lib/ruby/gems/1.8/gems/test_right-0.2.1/bin/test_right:10
      /usr/lib/ruby/gems/1.8/bin/test_right:19:in `load'
      /usr/lib/ruby/gems/1.8/bin/test_right:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant