-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnightwatch.json
More file actions
54 lines (54 loc) · 1.48 KB
/
Copy pathnightwatch.json
File metadata and controls
54 lines (54 loc) · 1.48 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
49
50
51
52
53
54
{
"page_objects_path": ["pages"],
"globals": {
"waitForConditionTimeout": 30000,
"retryAssertionTimeout": 30000
},
"test_settings" : {
"default" : {
"launch_url": "https://google.com",
"webdriver" : {
"start_process" : true,
"server_path": "node_modules/.bin/chromedriver.cmd",
"port": 9515
},
"desiredCapabilities": {
"browserName": "chrome"
},
"screenshots": {
"enabled": true,
"on_failure": true,
"on_error": true,
"path": "./reports"
}
},
"firefox" : {
"webdriver" : {
"start_process" : true,
"server_path": "node_modules/.bin/chromedriver.cmd",
"port": 4444
},
"desiredCapabilities": {
"browserName": "firefox"
}
},
"ci" : {
"webdriver" : {
"default_path_prefix": "/wd/hub",
"host": "selenium",
"port": 4444
},
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true,
"chromeOptions": {
"w3c": false,
"args": [
"--headless"
]
}
}
}
}
}