-
Notifications
You must be signed in to change notification settings - Fork 1
/
nightwatch.json
108 lines (102 loc) · 3.23 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"src_folders": "./tests/e2e/groups/",
"output_folder": "./reports/e2e/",
"globals_path": "./tests/e2e/globals.js",
"page_objects_path": "./tests/e2e/pages/",
"selenium": {
"start_process": true,
"server_path": "./node_modules/selenium-standalone/.selenium/selenium-server/2.45.0-server.jar",
"cli_args": {
"webdriver.chrome.driver": "./node_modules/selenium-standalone/.selenium/chromedriver/2.15-x64-chromedriver"
}
},
"test_settings": {
"default": {
"skip_testcases_on_fail":false,
"silent": true,
"screenshots" : {
"enabled" : true,
"on_failure" : true,
"on_error" : false,
"path" : "./tests/screenshots"
},
"desiredCapabilities": {
"browserName": "chrome"
}
},
"phantom": {
"skip_testcases_on_fail":false,
"screenshots" : {
"enabled" : true,
"on_failure" : true,
"on_error" : true,
"path" : "./tests/screenshots"
},
"desiredCapabilities": {
"browserName": "phantomjs",
"phantomjs.binary.path": "./node_modules/phantomjs/bin/phantomjs"
}
},
"nexus-5": {
"silent": true,
"skip_testcases_on_fail":false,
"screenshots" : {
"enabled" : true,
"on_failure" : true,
"on_error" : false,
"path" : "./tests/screenshots"
},
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"mobileEmulation": {
"deviceName": "Google Nexus 5"
},
"args": ["incognito", "disable-extensions"]
}
}
},
"nexus-7": {
"silent": true,
"skip_testcases_on_fail":false,
"screenshots" : {
"enabled" : true,
"on_failure" : true,
"on_error" : false,
"path" : "./tests/screenshots"
},
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"mobileEmulation": {
"deviceName": "Google Nexus 7"
},
"args": ["incognito", "disable-extensions"]
}
}
},
"saucelabs": {
"skip_testcases_on_fail":false,
"selenium_host": "ondemand.saucelabs.com",
"selenium_port": 80,
"username": "",
"access_key": "",
"use_ssl": false,
"silent": true,
"output": true,
"screenshots": {
"enabled": false,
"path": ""
},
"desiredCapabilities": {
"browserName": "chrome"
},
"globals": {
"myGlobal": "some_sauce_global"
},
"selenium": {
"start_process": false
}
}
}
}