-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathnightwatch.json
More file actions
101 lines (101 loc) · 2.66 KB
/
nightwatch.json
File metadata and controls
101 lines (101 loc) · 2.66 KB
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
{
"src_folders": [
"./test/frontend/tests"
],
"output_folder": "./test/reports/functional",
"page_objects_path": ["./test/frontend/pages/todos"],
"custom_commands_path": "./test/frontend/custom-commands",
"custom_assertions_path": "",
"globals_path": "./test/data/globals",
"live_output": false,
"parallel_process_delay": 10,
"disable_colors": false,
"test_workers": false,
"selenium": {
"start_process": true,
"server_path": "./node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-3.8.1.jar",
"log_path": "",
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./node_modules/chromedriver/lib/chromedriver/chromedriver",
"webdriver.ie.driver": "",
"webdriver.firefox.profile": ""
}
},
"test_settings": {
"default": {
"launch_url": "http://localhost:3000",
"selenium_port": 4444,
"selenium_host": "localhost",
"silent": true,
"screenshots": {
"enabled": false,
"path": ""
},
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"sauce-test": {
"launch_url": "localhost:3000",
"selenium_port": 80,
"selenium_host": "ondemand.saucelabs.com",
"silent": true,
"username": "YOUR_USERNAME",
"access_key": "YOUR_ACCESS_KEY",
"screenshots": {
"enabled": false,
"path": "screenshots"
},
"desiredCapabilities": {
"browserName": "chrome",
"platform": "windows 10",
"version": "51",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"firefox": {
"launch_url": "localhost:3000",
"selenium_host": "127.0.0.1",
"selenium_port": 4444,
"silent": true,
"disable_colors": false,
"screenshots": {
"enabled": true,
"on_failure": true,
"on_error": true,
"path": "./test/screenshots"
},
"desiredCapabilities": {
"browserName": "firefox",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"safari": {
"launch_url": "localhost:3000",
"selenium_host": "127.0.0.1",
"selenium_port": 4444,
"silent": true,
"disable_colors": false,
"screenshots": {
"enabled": true,
"on_failure": true,
"on_error": true,
"path": "./test/screenshots"
},
"desiredCapabilities": {
"browserName": "safari",
"javascriptEnabled": true,
"acceptSslCerts": true
}
}
},
"qualitywatcher_config": {
"output_on_console": true
}
}