blob: 9d33770bff3a63e46910eec1b3a64369de257fc8 [file] [log] [blame]
{
"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" : true,
"server_path" : "test/nightwatch_tests/selenium/selenium-server-standalone-2.45.0.jar",
"log_path" : "",
"host" : "127.0.0.1",
"port" : "<%- selenium_port %>",
"cli_args" : {
"webdriver.chrome.driver" : "test/nightwatch_tests/selenium/chromedriver",
"webdriver.ie.driver" : "",
"webdriver.firefox.profile" : ""
}
},
"test_settings" : {
"default" : {
"fauxton_username": "<%- fauxton_username %>",
"password": "<%- password %>",
"launch_url": "http://<%- fauxton_host %>:<%- fauxton_port %>",
"db_url": "http://<%- 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" : "firefox",
"javascriptEnabled" : true,
"acceptSslCerts" : true
},
"exclude": <%= exclude_tests %>
},
"chrome" : {
"desiredCapabilities" : {
"browserName" : "chrome",
"javascriptEnabled" : true,
"acceptSslCerts" : true,
"chromeOptions" : {
"args" : ["window-size=1400,900"]
}
}
},
"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" : "..."
}
}
}
}