forked from dustyjuhl/e2e-testing-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightwatch.conf.js
44 lines (44 loc) · 998 Bytes
/
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: 'tests',
output_folder: false,
test_settings: {
default: {
launch_url: 'http://example.com/',
filter: '*.spec.js',
screenshots: {
enabled: false,
path: ''
},
desiredCapabilities: {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true
}
},
saucelabs: {
launch_url: 'http://example.com/',
filter: '*.spec.js',
desiredCapabilities: {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true
},
selenium_host: 'ondemand.saucelabs.com',
selenium_port: 80,
username: '${SAUCE_USERNAME}',
access_key: '${SAUCE_ACCESS_KEY}',
use_ssl: false,
disable_colors: true,
silent: true,
output: true,
screenshots: {
enabled: false,
on_failure: true,
path: ''
},
selenium: {
start_process: false
}
}
}
};