-
Notifications
You must be signed in to change notification settings - Fork 5
/
nightwatch.conf.js
44 lines (39 loc) · 1 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
module.exports = {
src_folders: ['stories/*.stories.jsx', 'tests'],
// See https://nightwatchjs.org/guide/extending-nightwatch/custom-commands.html
custom_commands_path: [
//path.join('nightwatch', 'commands')
],
'@nightwatch/storybook': {
start_storybook: true,
storybook_config_dir: '.storybook',
hide_csf_errors: true,
storybook_url: 'http://localhost:6006/'
},
plugins: ['./test_plugin.js'],
// See https://nightwatchjs.org/guide/#external-globals
//globals_path: path.join('nightwatch', 'globals.js'),
webdriver: {},
test_settings: {
default: {
disable_error_log: false,
launch_url: 'http://localhost:8736',
screenshots: {
enabled: false,
path: 'screens',
on_failure: true
},
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
w3c: true,
args: []
}
},
webdriver: {
start_process: true,
server_path: ''
}
}
}
};