-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnightwatch.js
More file actions
48 lines (45 loc) · 1.04 KB
/
nightwatch.js
File metadata and controls
48 lines (45 loc) · 1.04 KB
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
module.exports = {
src_folders: ["tests/scenarios"],
output_folder: "tests/reports",
globals_path: "tests/setup.js",
selenium: {
start_process: false
},
test_workers: {
enabled: false
},
test_settings: {
local: {
launch_url: 'http://localhost:8081',
selenium_port: 4444,
selenium_host: 'localhost',
silent: true,
screenshots: {
enabled: true,
path: './screenshots',
},
desiredCapabilities: {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true,
}
},
remote: {
launch_url: 'http://ondemand.saucelabs.com:80',
selenium_port: 80,
selenium_host: 'ondemand.saucelabs.com',
username: process.env.SAUCE_USERNAME,
access_key: process.env.SAUCE_ACCESS_KEY,
silent: true,
screenshots: {
enabled: true,
path: './screenshots',
},
desiredCapabilities: {
browserName: 'chrome',
javascriptEnabled: true,
acceptSslCerts: true
}
}
}
};