-
Notifications
You must be signed in to change notification settings - Fork 1
/
nightwatch_from_app_root_with_saucelabs.json
79 lines (75 loc) · 1.89 KB
/
nightwatch_from_app_root_with_saucelabs.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
{
"src_folders" : ["../../tests"],
"output_folder" : "nightwatch-output",
"custom_commands_path" : "",
"custom_assertions_path" : "",
"globals_path" : "globals.json",
"selenium" : {
"start_process" : true,
"server_path" : "selenium/selenium-server-standalone-2.42.0.jar",
"log_path" : "nightwatch-logs",
"host" : "127.0.0.1",
"port" : 4444,
"cli_args": {
"webdriver.chrome.driver": "selenium/chromedriver"
}
},
"test_settings" : {
"default" : {
"launch_url" : "http://localhost:3000",
"selenium_host" : "127.0.0.1",
"selenium_port" : 4444,
"pathname": "/wd/hub",
"silent" : true,
"disable_colors": false,
"firefox_profile" : false,
"ie_driver" : "",
"screenshots" : {
"enabled" : false,
"path" : ""
},
"desiredCapabilities" : {
"browserName" : "firefox",
"javascriptEnabled" : true,
"acceptSslCerts" : true
}
},
"saucelabs" : {
"selenium_host" : "ondemand.saucelabs.com",
"selenium_port" : 80,
"username" : "${SAUCE_USERNAME}",
"access_key" : "${SAUCE_ACCESS_KEY}",
"use_ssl" : false,
"silent" : true,
"output" : true,
"screenshots" : {
"enabled" : false,
"path" : ""
},
"desiredCapabilities": {
"name" : "test-example",
"browserName": "firefox"
},
"globals" : {
"myGlobal" : "some_sauce_global"
},
"selenium" : {
"start_process" : false
}
},
"browserstack" : {
"selenium" : {
"start_process" : false
},
"selenium_host" : "hub.browserstack.com",
"selenium_port" : 80,
"silent" : true,
"desiredCapabilities": {
"name" : "test-example",
"browserName": "firefox",
"browserstack.user" : "...",
"browserstack.key" : "..."
}
}
}
}