Saucelabs will surely fail if the *port is wrong* 😡
This commit is contained in:
parent
6e1e49583b
commit
3312335efa
|
@ -7,10 +7,9 @@ elif [ "$TEST_SUITE" == "ember" ]; then
|
|||
sleep 3
|
||||
./run_jasmine.coffee http://localhost:5000/spec.html
|
||||
elif [ "$TEST_SUITE" == "browser" ]; then
|
||||
bundle exec rackup -s puma -p 5000 -D
|
||||
sleep 3
|
||||
curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
|
||||
gem install selenium-webdriver
|
||||
bundle exec rackup -s puma -p 5000 -D
|
||||
sleep 5
|
||||
curl -v http://localhost:4000/spec.html
|
||||
ruby script/saucelabs.rb
|
||||
fi
|
||||
|
|
|
@ -16,7 +16,7 @@ driver = Selenium::WebDriver.for(
|
|||
:url => "http://#{ENV['SAUCE_USERNAME']}:#{ENV['SAUCE_ACCESS_KEY']}@localhost:4445/wd/hub",
|
||||
:desired_capabilities => caps)
|
||||
|
||||
driver.navigate.to "http://localhost:4000/spec.html"
|
||||
driver.navigate.to "http://localhost:5000/spec.html"
|
||||
begin
|
||||
status = driver.execute_script('return consoleReporter.status;')
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user