| { |
| "src_folders": <%= src_folders %>, |
| "custom_commands_path": <%= custom_commands_path %>, |
| "globals_path": "<%- globals_path %>", |
| |
| "output_folder" : "./test/nightwatch_tests/reports", |
| "custom_assertions_path" : "", |
| "live_output" : false, |
| |
| "selenium" : { |
| "start_process" : false, |
| "server_path" : "", |
| "log_path" : "", |
| "host" : "127.0.0.1", |
| "port" : "<%- selenium_port %>", |
| "cli_args" : { |
| "webdriver.chrome.driver" : "", |
| "webdriver.ie.driver" : "", |
| "webdriver.firefox.profile" : "" |
| } |
| }, |
| |
| "test_settings" : { |
| "default" : { |
| "fauxton_username": "<%- fauxton_username %>", |
| "password": "<%- password %>", |
| "launch_url": "http://<%- fauxton_host %>:<%- fauxton_port %>", |
| "db_url": "<%- db_protocol %>://<%- fauxton_username %>:<%- password %>@<%- db_host %>:<%- db_port %>", |
| "selenium_host" : "127.0.0.1", |
| "selenium_port" : "<%- selenium_port %>", |
| "silent" : true, |
| "disable_colors": false, |
| "screenshots" : { |
| "enabled" : true, |
| "path" : "./test/nightwatch_tests/reports" |
| }, |
| "desiredCapabilities" : { |
| "browserName" : "chrome", |
| "javascriptEnabled" : true, |
| "acceptSslCerts" : true |
| }, |
| "exclude": <%= exclude_tests %>, |
| "skiptags": <%= skiptags %> |
| }, |
| |
| "chrome" : { |
| "desiredCapabilities" : { |
| "browserName" : "chrome", |
| "javascriptEnabled" : true, |
| "acceptSslCerts" : true, |
| "chromeOptions" : { |
| "args" : ["window-size=1400,900", "--no-sandbox"] |
| } |
| } |
| }, |
| |
| "saucelabs" : { |
| "selenium_host" : "ondemand.saucelabs.com", |
| "selenium_port" : 80, |
| "username" : "${SAUCE_USERNAME}", |
| "access_key" : "${SAUCE_ACCESS_KEY}", |
| "use_ssl" : false, |
| "silent" : true, |
| "output" : true, |
| "screenshots" : { |
| "enabled" : false, |
| "path" : "" |
| }, |
| "desiredCapabilities": { |
| "name" : "test-example", |
| "browserName": "chrome", |
| "tunnel-identifier":"${TRAVIS_JOB_NUMBER}" |
| }, |
| "globals" : { |
| "myGlobal" : "some_sauce_global" |
| }, |
| "selenium" : { |
| "start_process" : false |
| } |
| }, |
| |
| "phantomjs" : { |
| "desiredCapabilities" : { |
| "browserName" : "phantomjs", |
| "javascriptEnabled" : true, |
| "acceptSslCerts" : true, |
| "phantomjs.binary.path" : "/path/to/phantomjs" |
| } |
| }, |
| |
| "browserstack" : { |
| "selenium" : { |
| "start_process" : false |
| }, |
| "selenium_host" : "hub.browserstack.com", |
| "selenium_port" : 80, |
| "silent" : true, |
| "desiredCapabilities": { |
| "name" : "test-example", |
| "browserName": "firefox", |
| "browserstack.user" : "...", |
| "browserstack.key" : "..." |
| } |
| } |
| } |
| } |