-
Notifications
You must be signed in to change notification settings - Fork 9
/
nightwatch.conf.js
52 lines (47 loc) · 1.06 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
var seleniumServer = require('selenium-server');
var phantomjs = require('phantomjs-prebuilt')
module.exports = {
"src_folders": ["tests"],
"output_folder": "reports",
"custom_commands_path": "",
"custom_assertions_path": "",
"page_objects_path": "page-objects",
"globals_path": "",
"selenium": {
"start_process": true,
"server_path": seleniumServer.path,
"host": "127.0.0.1",
"port": 4444,
"cli_args": {
"webdriver.chrome.driver": "./bin/drivers/chromedriver",
"webdriver.gecko.driver" : "./bin/drivers/geckodriver"
}
},
"test_settings": {
"default": {
"launch_url": "http://dev.matthewroach.me/login/",
"selenium_host": "localhost",
"selenium_port": 4444,
"pathname": "/wd/hub",
"silent": true,
"screenshots": {
"enabled": false,
"path": ""
},
"desiredCapabilities": {
"browserName": "chrome"
}
},
"ci": {
"desiredCapabilities": {
"browserName": "firefox"
}
},
"phantom": {
"desiredCapabilities": {
"browserName": "phantomjs",
"phantomjs.binary.path": phantomjs.path,
}
}
}
}