-
Notifications
You must be signed in to change notification settings - Fork 107
/
nightwatch.json
93 lines (85 loc) · 2.57 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
{
"src_folders" : [
"Website/test/e2e/suite"
],
"output_folder" : "Website/test/e2e/reports",
"custom_commands_path" : "Website/test/e2e/commands",
"custom_assertions_path" : "",
"page_objects_path" : "Website/test/e2e/pageObjects",
"globals_path" : "Website/test/e2e/globals",
"selenium" : {
"start_process" : true,
"server_path" : "Website/node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-2.53.1.jar",
"log_path" : "",
"host" : "127.0.0.1",
"port" : 4444,
"cli_args" : {
"webdriver.chrome.driver" : "Website/node_modules/chromedriver/lib/chromedriver/chromedriver.exe",
"webdriver.ie.driver" : "Website/node_modules/iedriver/lib/iedriver/IEdriverServer.exe"
}
},
"test_settings" : {
"default" : {
"launch_url" : "http://localhost:8080",
"selenium_port" : 4444,
"selenium_host" : "localhost",
"silent": true,
"end_session_on_fail": true,
"skip_testcases_on_fail": false,
"exclude" : [ "Website/test/e2e/suite/010_setupPackages/installSQLPackage.js",
"Website/test/e2e/suite/packages",
"Website/test/e2e/suite/zzz_starterSites"],
"globals": {
"connectionString": ""
},
"screenshots" : {
"enabled" : true,
"on_failure" : true,
"on_error" : true,
"path" : "Website/test/e2e/screenshots"
},
"desiredCapabilities": {
"browserName": "chrome",
"loggingPrefs": { "browser": "ALL" } ,
"javascriptEnabled": true,
"acceptSslCerts": true,
"chromeOptions" : {
"args" : ["--no-sandbox"]
}
}
},
"sql": {
"exclude" : ["Website/test/e2e/suite/000_setup/installSite.js",
"Website/test/e2e/suite/010_setupPackages/installVerboseLoggingPackage.js",
"Website/test/e2e/suite/packages",
"Website/test/e2e/suite/zzz_starterSites"]
},
"starter": {
"exclude" : ["Website/test/e2e/suite/010_setupPackages/installSQLPackage.js"]
},
"firefox" : {
"desiredCapabilities": {
"browserName": "firefox",
"loggingPrefs": { "browser": "ALL" } ,
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"ie" : {
"desiredCapabilities": {
"browserName": "internet explorer",
"loggingPrefs": { "browser": "ALL" } ,
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"edge" : {
"desiredCapabilities": {
"browserName": "edge",
"loggingPrefs": { "browser": "ALL" } ,
"javascriptEnabled": true,
"acceptSslCerts": true
}
}
}
}