This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
nightwatch.json
142 lines (142 loc) · 3.41 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"src_folders": [
"./tests"
],
"output_folder": "reports",
"custom_commands_path": [
"./node_modules/testarmada-nightwatch-extra/lib/commands",
"./node_modules/testarmada-nightwatch-extra/lib/commands/mobile",
"./lib/custom_commands"
],
"custom_assertions_path": [
"./node_modules/testarmada-nightwatch-extra/lib/assertions",
"./node_modules/testarmada-nightwatch-extra/lib/assertions/mobile"
],
"page_objects_path": [
"./lib/pages"
],
"globals_path": "./lib/globals.js",
"selenium": {
"start_process": true,
"server_path": "./node_modules/selenium-server/lib/runner/selenium-server-standalone-3.1.0.jar",
"log_path": "reports",
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./node_modules/chromedriver/lib/chromedriver/chromedriver",
"webdriver.gecko.driver": "./node_modules/geckodriver/bin/geckodriver",
"webdriver.ie.driver": ""
}
},
"test_settings": {
"default": {
"launch_url": "http://travis.dev",
"selenium_port": 4444,
"selenium_host": "localhost",
"silent": true,
"sync_test_names": true,
"screenshots": {
"enabled": false,
"path": ""
},
"desiredCapabilities": {},
"globals": {
"waitForConditionTimeout": 60000,
"asyncHookTimeout": 60000,
"syncModeBrowserList": [
"safari:10",
"iphone",
"ipad"
]
}
},
"safari": {
"desiredCapabilities": {
"browserName": "safari"
}
},
"firefox": {
"desiredCapabilities": {
"browserName": "firefox"
}
},
"chrome": {
"desiredCapabilities": {
"browserName": "chrome"
}
},
"invisiblechrome": {
"desiredCapabilities": {
"browserName": "chrome",
"chromeOptions": {
"args": [
"--headless"
]
}
}
},
"dockerchrome": {
"desiredCapabilities": {
"browserName": "chrome"
},
"selenium": {
"start_process": false
}
},
"appiummweb": {
"desiredCapabilities": {
"browserName": "safari",
"appiumVersion": "1.6.5",
"automationName": "XCUITestest",
"platformName": "iOS",
"platformVersion": "10.3",
"deviceName": "iPhone 7",
"waitForAppScript": "true"
},
"selenium": {
"start_process": false
},
"appium": {
"start_process": true
}
},
"appiumandroidmweb": {
"desiredCapabilities": {
"browserName": "Chrome",
"appiumVersion": "1.6.5",
"platformName": "Android",
"platformVersion": "7.0",
"deviceName": "Pixel_API_24",
"avd": "Pixel_API_24",
"avdArgs": "-netfast -noaudio -no-boot-anim"
},
"selenium": {
"start_process": false
},
"appium": {
"start_process": true
}
},
"sauce": {
"selenium_host": "ondemand.saucelabs.com",
"selenium_port": 80,
"username": "",
"access_key": "",
"desiredCapabilities": {
"browserName": "",
"platform": "",
"version": ""
},
"selenium": {
"start_process": false
}
},
"browserstack": {
"selenium_host": "hub-cloud.browserstack.com",
"selenium_port": 80,
"selenium": {
"start_process": false
}
}
}
}