forked from 4DvAnCeBoY/nightwatch-website-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnightwatch.conf.js
More file actions
82 lines (69 loc) · 1.73 KB
/
nightwatch.conf.js
File metadata and controls
82 lines (69 loc) · 1.73 KB
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
module.exports = {
src_folders: ['test'],
page_objects_path : 'lib/pages',
custom_commands_path : 'lib/custom-commands',
custom_assertions_path : 'lib/custom-assertions',
selenium : {
start_process : false,
server_path : "",
log_path : "",
host : "hub.lambdatest.com",
port : 80,
cli_args : {
"webdriver.chrome.driver" : "",
"webdriver.ie.driver" : "",
"webdriver.firefox.profile": ""
}
},
test_workers : {"enabled" : true, "workers" : "auto"},
test_settings : {
default : {
request_timeout_options: {
timeout: 1000000
},
launch_url : "https://nightwatchjs.org",
selenium_port : 80,
selenium_host : "hub.lambdatest.com",
silent: false,
screenshots : {
enabled : true,
path : ""
},
username : process.env.LT_USERNAME || "<your username>",
access_key : process.env.LT_ACCESS_KEY || "<your accessKey>",
skip_testcases_on_fail: false,
desiredCapabilities: {
build:"Nightwatch-Selenium-Sample",
visual:true,
video:true,
console:true,
network:true
}
},
chrome: {
desiredCapabilities: {
platform: "Windows 8",
browserName: "chrome",
version: "71.0"
}
},
safari : {
desiredCapabilities: {
platform: "macos 10.13",
browserName: "safari",
version: "11.0"
}
},
firefox: {
desiredCapabilities: {
platform: "win10",
browserName: "firefox",
version: "60"
}
},
globals: {
// NIGHTWATCH_VERSION is defined as an environment variable (.env files are supported also)
nightwatchVersion: '${NIGHTWATCH_VERSION}'
}
},
};