-
Notifications
You must be signed in to change notification settings - Fork 7
/
nightwatch.json
57 lines (51 loc) · 1.4 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
{
"src_folders": ["./src/__test__/end2end"],
"custom_commands_path": "",
"custom_assertions_path": "",
"page_objects_path": "",
"globals_path": "",
"output_folder": "./src/__test__/end2end/reports",
"webdriver": {
"start_process": true
},
"test_settings": {
"default": {
"webdriver": {
"server_path": "./node_modules/.bin/geckodriver",
"port": 4444,
"cli_args": ["--log", "debug"]
},
"filter": ["./src/__test__/end2end"],
"desiredCapabilities": {
"browserName": "firefox",
"acceptInsecureCerts": true
}
},
"chrome": {
"webdriver": {
"port": 9515,
"server_path": "./node_modules/.bin/chromedriver",
"cli_args": ["--verbose"]
},
"desiredCapabilities": {
"browserName": "chrome",
"loggingPrefs": { "driver": "INFO", "server": "OFF", "browser": "INFO" }
}
},
"selenium_server": {
"selenium": {
"start_process": true,
"host": "localhost",
"server_path": "./node_modules/.bin/selenium-server-standalone-3.10.0.jar",
"cli_args": {
"webdriver.gecko.driver": "./node_modules/.bin/geckodriver-0.23",
"webdriver.chrome.driver": "./node_modules/.bin/chromedriver-2.32"
}
},
"desiredCapabilities": {
"browserName": "firefox",
"acceptSslCerts": true
}
}
}
}