forked from ThePalaceProject/circulation-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nightwatch.json
58 lines (56 loc) · 1.56 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
{
"src_folders": ["tests/browser/"],
"output_folder": "tests/browser/reports",
"custom_assertions_path": "tests/browser/assertions",
"custom_commands_path": "tests/browser/commands",
"globals_path": "tests/browser/globals.js",
"page_objects_path": "tests/browser/pages",
"selenium": {
"start_process": true,
"server_path": "./node_modules/selenium-standalone/.selenium/selenium-server/3.141.59-server.jar",
"log_path": "",
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./node_modules/selenium-standalone/.selenium/chromedriver/latest-x64-chromedriver",
"webdriver.gecko.driver": "./node_modules/selenium-standalone/.selenium/geckodriver/latest-x64-geckodriver",
"webdriver.ie.driver": ""
}
},
"test_settings": {
"default": {
"launch_url": "http://localhost",
"selenium_port": 4444,
"selenium_host": "localhost",
"silent": true,
"screenshots": {
"enabled": true,
"path": "tests/browser/reports"
},
"exclude": [
"assertions/*.js",
"commands/*.js",
"pages/*.js",
"globals.js"
],
"end_session_on_fail": false,
"loggingPrefs": {
"browser": "ALL"
}
},
"firefox": {
"desiredCapabilities": {
"browserName": "firefox",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"chrome": {
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true
}
}
}
}