-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnightwatch.json
54 lines (54 loc) · 1.54 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
{
"src_folders": ["./nightwatch/tests"],
"output_folder": "./nightwatch/reports",
"custom_commands_path": "./nightwatch/commands",
"page_objects_path": "./nightwatch/page-objects",
"custom_assertions_path": "",
"globals_path": "",
"live_output": true,
"parallel_process_delay": 10,
"disable_colors": false,
"test_workers": false,
"selenium": {
"start_process": true,
"server_path": "./node_modules/selenium-standalone/.selenium/selenium-server/3.4.0-server.jar",
"log_path": false,
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./node_modules/selenium-standalone/.selenium/chromedriver/2.29-x64-chromedriver",
"webdriver.gecko.driver": "./node_modules/selenium-standalone/.selenium/geckodriver/0.16.0-x64-geckodriver"
}
},
"test_settings": {
"default": {
"launch_url": "http://localhost",
"selenium_host": "127.0.0.1",
"selenium_port": 4444,
"silent": true,
"disable_colors": false,
"screenshots": {
"enabled": true,
"on_failure": true,
"on_error": false,
"path": "./nightwatch/reports/screenshots"
},
"use_xpath": false,
"skip_testcases_on_fail": false
},
"chrome": {
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"firefox": {
"desiredCapabilities": {
"browserName": "firefox",
"javascriptEnabled": true,
"acceptSslCerts": true
}
}
}
}