vue/nightwatch.conf.js
module.exports = {
// An array of folders (excluding subfolders) where your tests are located;
// if this is not specified, the test source must be passed as the second argument to the test runner.
detailed_output: false,
skip_testcases_on_fail: false,
src_folders: ['tests/e2e/specs'],
output_folder: 'tests/reports',
plugins: [],
globals_path: '',
webdriver: {},
test_settings: {
default: {
disable_error_log: false,
launch_url: 'http://localhost:8080',
screenshots: {
enabled: false,
path: 'tests/screenshots',
on_failure: true
},
desiredCapabilities: {
browserName: 'chrome'
},
webdriver: {
start_process: true,
server_path: ''
},
},
chrome: {
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
// More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/
// w3c:false tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78)
// w3c: false,
args: ['headless', 'window-size=1280,2400']
}
},
webdriver: {
start_process: true,
server_path: '',
cli_args: [
// --verbose
]
}
},
},
};