-
Notifications
You must be signed in to change notification settings - Fork 130
/
nightwatch.json
44 lines (44 loc) · 1.27 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
{
"src_folders" : ["tests"],
"output_folder" : "reports",
"page_objects_path": "e2e_helpers/pages",
"custom_commands_path" : "e2e_helpers/commands",
"custom_assertions_path" : "e2e_helpers/assertions",
"globals_path" : "e2e_helpers/globals.js",
"selenium" : {
"start_process" : true,
"server_path" : "./node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-2.53.0.jar",
"log_path" : "",
"host" : "127.0.0.1",
"port" : 4444,
"cli_args" : {
"webdriver.chrome.driver" : "",
"webdriver.ie.driver" : ""
}
},
"test_settings" : {
"default" : {
"launch_url" : "http://localhost:8080",
"selenium_port" : 4444,
"selenium_host" : "localhost",
"silent": true,
"screenshots" : {
"enabled" : true,
"path" : "reports"
}
},
"saucelabs" : {
"selenium_host": "ondemand.saucelabs.com",
"selenium_port": 80,
"username" : "${SAUCE_USERNAME}",
"access_key" : "${SAUCE_ACCESS_KEY}",
"desiredCapabilities": {
"name": "test-firefox",
"browserName": "${E2E_BROWSER_VENDOR}",
"platform": "${E2E_PLATFORM}",
"version": "${E2E_BROWSER_VERSION}",
"tunnel-identifier": "${TRAVIS_JOB_NUMBER}"
}
}
}
}