-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightwatch.conf.js
38 lines (34 loc) · 1.06 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
/*eslint-disable quote-props*/
console.log("addr", process.env.HUB_PORT_4444_TCP_ADDR);
module.exports = {
"custom_assertions_path": "",
"custom_commands_path": "",
"globals_path": "",
"output_folder": "reports",
"page_objects_path": "",
"src_folders": ["tests"],
"live_output": true,
"selenium": {
"start_process": false,
"host": process.env.HUB_PORT_4444_TCP_ADDR,
"port": process.env.HUB_PORT_4444_TCP_PORT,
},
"test_settings": {
"default": {
"launch_url": `http:${process.env.HUB_PORT_4444_TCP_ADDR}`,
"selenium_port": process.env.HUB_PORT_4444_TCP_PORT,
"selenium_host": process.env.HUB_PORT_4444_TCP_ADDR,
"silent": true,
"screenshots": {
"enabled": false,
"path": "",
},
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true,
},
},
},
"test_workers": false,
};