forked from nightwatchjs/nightwatch-plugin-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightwatch.conf.js
49 lines (40 loc) · 1.21 KB
/
nightwatch.conf.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
42
43
44
45
46
47
48
49
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.
src_folders: ['test/src'],
// See https://nightwatchjs.org/guide/working-with-page-objects/
page_objects_path: [],
// See https://nightwatchjs.org/guide/extending-nightwatch/#writing-custom-commands
custom_commands_path: ['nightwatch/commands'],
// See https://nightwatchjs.org/guide/extending-nightwatch/#writing-custom-assertions
custom_assertions_path: '',
// See https://nightwatchjs.org/guide/#external-globals
globals_path: 'test/globals.js',
webdriver: {},
test_settings: {
default: {
disable_error_log: false,
launch_url: 'http://localhost:3001',
persist_globals: true,
screenshots: {
enabled: false,
path: 'screens',
on_failure: true
},
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
w3c: true,
args: []
}
},
webdriver: {
start_process: true,
server_path: '',
cli_args: [
// --verbose
]
}
}
}
};