-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnightwatch.json
91 lines (88 loc) · 2.14 KB
/
nightwatch.json
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"src_folders": ["./tests/e2e/groups"],
"output_folder": "./tests/e2e/reports/e2e",
"globals_path": "./tests/e2e/globals.js",
"page_objects_path": "./tests/e2e/pages",
"test_workers": {
"enabled": false,
"workers": "auto"
},
"live_output": false,
"selenium": {
"start_process": true,
"host" : "127.0.0.1",
"selenium_port": 4444,
"server_path": "./node_modules/selenium-standalone/.selenium/selenium-server/3.4.0-server.jar",
"log_path": "",
"cli_args": {
"webdriver.chrome.driver": "./node_modules/selenium-standalone/.selenium/chromedriver/2.41-x64-chromedriver"
}
},
"test_settings": {
"default": {
"skip_testcases_on_fail": true,
"silent": true,
"screenshots": {
"enabled": false,
"on_failure": true,
"on_error": true,
"path": "./tests/screenshots"
},
"disable_colors": true,
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled" : true,
"acceptSslCerts": true,
"chromeOptions": {
"args": [
"incognito",
"disable-extensions",
"--no-sandbox"
]
}
}
},
"desktop": {
"screenshots": {
"enabled": false,
"on_failure": false,
"on_error": false
},
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled" : true,
"acceptSslCerts": true,
"chromeOptions": {
"args": [
"incognito",
"disable-extensions",
"--no-sandbox"
]
}
}
},
"mobile": {
"screenshots": {
"enabled": false,
"on_failure": false,
"on_error": false
},
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled" : true,
"acceptSslCerts": true,
"chromeOptions": {
"mobileEmulation": {
"deviceName": "Galaxy S5"
},
"args": [
"incognito",
"disable-extensions",
"--no-sandbox",
"disable-gpu"
]
}
}
}
}
}