Attempt to run functional tests without workers and against fewer browsers against the right test framework.
This commit is contained in:
parent
b0108fcb79
commit
76ab83f054
3
Rotefile
3
Rotefile
|
@ -94,7 +94,8 @@ task ("test-functional-js", function ()
|
||||||
|
|
||||||
exec("docker-compose", "up", "-d")
|
exec("docker-compose", "up", "-d")
|
||||||
-- exec("docker-compose", "run", "webapp", "nightwatch", "-e", "firefox")
|
-- exec("docker-compose", "run", "webapp", "nightwatch", "-e", "firefox")
|
||||||
exec("docker-compose", "exec", "webapp", "nightwatch", "-e", "firefox")
|
-- exec("docker-compose", "exec", "webapp", "nightwatch", "-e", "firefox")
|
||||||
|
exec("docker-compose", "exec", "webapp", "nightwatch")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
desc("Demos Rookeries in a browser")
|
desc("Demos Rookeries in a browser")
|
||||||
|
|
|
@ -40,7 +40,8 @@ test:
|
||||||
# Wait for tunnel to be ready
|
# Wait for tunnel to be ready
|
||||||
- while [ ! -e .saucelabs/sauce_is_ready ]; do sleep 1; done
|
- while [ ! -e .saucelabs/sauce_is_ready ]; do sleep 1; done
|
||||||
# TODO: Enable web tests when browser issues resolved
|
# TODO: Enable web tests when browser issues resolved
|
||||||
- ./rote -B -v test-functional
|
# - ./rote -B -v test-functional
|
||||||
|
- ./rote -B -v test-functional-js
|
||||||
|
|
||||||
post:
|
post:
|
||||||
- killall --wait sc # wait for Sauce Connect to close the tunnel
|
- killall --wait sc # wait for Sauce Connect to close the tunnel
|
||||||
|
|
|
@ -21,25 +21,45 @@
|
||||||
"test_settings" : {
|
"test_settings" : {
|
||||||
"default" : {
|
"default" : {
|
||||||
"launch_url" : "http://localhost",
|
"launch_url" : "http://localhost",
|
||||||
"selenium_host": "http://localhost",
|
"selenium_port" : 80,
|
||||||
"selenium_port": 6666,
|
"selenium_host" : "ondemand.saucelabs.com",
|
||||||
"silent": true,
|
"silent": true,
|
||||||
"disable_colors": true,
|
|
||||||
"screenshots" : {
|
"screenshots" : {
|
||||||
"enabled" : false,
|
"enabled" : false,
|
||||||
"path" : ""
|
"path" : ""
|
||||||
},
|
},
|
||||||
|
"username" : "${SAUCE_USERNAME}",
|
||||||
|
"access_key" : "${SAUCE_ACCESS_KEY}",
|
||||||
|
|
||||||
"desiredCapabilities": {
|
"desiredCapabilities": {
|
||||||
"browserName": "phantomjs",
|
|
||||||
"phantomjs.cli.args": [
|
|
||||||
"--ignore-ssl-errors=true"
|
|
||||||
],
|
|
||||||
"phantomjs.page.settings.userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36",
|
|
||||||
"phantomjs.binary.path": "/usr/local/bin/phantomjs",
|
|
||||||
"javascriptEnabled": true,
|
"javascriptEnabled": true,
|
||||||
"acceptSslCerts": true
|
"acceptSslCerts": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"chrome": {
|
||||||
|
"desiredCapabilities": {
|
||||||
|
"platform": "Windows XP",
|
||||||
|
"browserName": "chrome",
|
||||||
|
"version": "41"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"firefox" : {
|
||||||
|
"desiredCapabilities": {
|
||||||
|
"platform": "Windows XP",
|
||||||
|
"browserName": "firefox",
|
||||||
|
"version": "33"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"internet_explorer_10" : {
|
||||||
|
"desiredCapabilities": {
|
||||||
|
"platform": "Windows 7",
|
||||||
|
"browserName": "internet explorer",
|
||||||
|
"version": "10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue