-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathnightwatch.conf.js
56 lines (51 loc) · 1.4 KB
/
nightwatch.conf.js
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
require('dotenv').config();
module.exports = {
"src_folders" : ["./test/acceptance"],
"output_folder" : "./test/acceptance-reports",
"custom_commands_path" : "./test/acceptance/custom-commands",
"custom_assertions_path" : "",
"globals_path" : "./test/acceptance/globals.js",
"page_objects_path" : "./test/acceptance/pages",
"selenium" : {
"start_process" : true,
"server_path" : "/Users/vassilis/bin/selenium-server-standalone-2.53.0.jar",
"log_path" : "",
"host" : "127.0.0.1",
"port" : 4444,
"cli_args" : {
"webdriver.chrome.driver" : "/Users/vassilis/bin/chromedriver"
}
},
"test_settings" : {
"default" : {
"launch_url" : require('./config').rootUrl,
"selenium_port" : 4444,
"selenium_host" : "localhost",
"silent": true,
"screenshots" : {
"enabled" : false,
"path" : ""
},
"exclude" : ["custom-commands/*.js","edit/*.js"],
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"firefox" : {
"desiredCapabilities": {
"browserName": "firefox",
"javascriptEnabled": true,
"acceptSslCerts": true
}
},
"safari" : {
"desiredCapabilities" : {
"browserName" : "safari",
"javascriptEnabled" : true,
"acceptSslCerts" : true
}
}
}
}