forked from kiwix/kiwix-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnightwatch.js
126 lines (124 loc) · 3.65 KB
/
nightwatch.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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/**
* nightwatch.js : Configuration of nightwatch.
* Global settings of NightWatch.
*
* Copyright 2017 Mossroy and contributors
* License GPL v3:
*
* This file is part of Kiwix.
*
* Kiwix is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Kiwix is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Kiwix (file LICENSE-GPLv3.txt). If not, see <http://www.gnu.org/licenses/>
*/
'use strict';
var TRAVIS_JOB_NUMBER = process.env.TRAVIS_JOB_NUMBER;
module.exports = {
"src_folders" : ["browser-tests"],
"output_folder" : "reports",
"custom_commands_path" : "",
"custom_assertions_path" : "",
"page_objects_path" : "",
"globals_path" : "",
"test_settings" : {
"default" : {
"launch_url": "http://ondemand.saucelabs.com:80",
"selenium_port": 80,
"selenium_host": "ondemand.saucelabs.com",
"silent": true,
"username": "${SAUCE_USERNAME}",
"access_key": "${SAUCE_ACCESS_KEY}",
"screenshots" : {
"enabled" : false
},
"globals": {
"waitForConditionTimeout": 600
}
},
"firefox45" : {
"desiredCapabilities": {
"browserName": "firefox",
"version": "45.0",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"firefox" : {
"desiredCapabilities": {
"browserName": "firefox",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"chrome58" : {
"desiredCapabilities": {
"browserName": "chrome",
"version": "58.0",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"chrome" : {
"desiredCapabilities": {
"browserName": "chrome",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"edge" : {
"desiredCapabilities": {
"browserName": "MicrosoftEdge",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"edge40" : {
"desiredCapabilities": {
"browserName": "MicrosoftEdge",
"version": "15.15063",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"edge44" : {
"desiredCapabilities": {
"browserName": "MicrosoftEdge",
"version": "18.17763",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
},
"ie11" : {
"desiredCapabilities": {
"browserName": "internet explorer",
"javascriptEnabled": true,
"acceptSslCerts": true,
"build": "build-" + TRAVIS_JOB_NUMBER,
"tunnel-identifier": TRAVIS_JOB_NUMBER
}
}
}
};