forked from aberonni/nightwatch-bug-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightwatch.conf.base.js
41 lines (38 loc) · 893 Bytes
/
nightwatch.conf.base.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* Don't run nightwatch with this configuration directly.
*
* The purpose of this configuration is to be a common
* default for each specific test folder.
*/
const chromedriver = require('chromedriver');
module.exports = {
output_folder: 'reports',
live_output: false,
disable_colors: false,
webdriver: {
start_process: true,
server_path: chromedriver.path,
cli_args: [
'--log', 'debug'
],
port: 9515
},
test_settings: {
default: {
launch_url: 'http://localhost',
screenshots: {
enabled: true,
path: './reports/screens',
on_failure: true
},
desiredCapabilities: {
browserName: 'chrome',
acceptInsecureCerts: true,
chromeOptions: {
args: ['--no-sandbox']
},
loggingPrefs: {driver: 'INFO', server: 'OFF', browser: 'INFO'}
}
}
}
};