-
Notifications
You must be signed in to change notification settings - Fork 16
/
wdio.conf.js
47 lines (30 loc) · 880 Bytes
/
wdio.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
exports.config = {
specs: [
'./test/specs/**/*.js'
],
maxInstances: 10,
capabilities: [{
browserName: 'chrome', browserVersion: "latest", platformName: "Windows 10"
}],
sync: true,
// Level of logging verbosity: silent | verbose | command | data | result | error
logLevel: 'silent',
coloredLogs: true,
deprecationWarnings: true,
bail: 0,
screenshotPath: './errorShots/',
baseUrl: 'http://localhost:3000',
waitforTimeout: 10000,
connectionRetryTimeout: 900000,
connectionRetryCount: 3,
framework: 'mocha',
reporters: ['spec'],
// Sauce-specific settings
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
services: [
['sauce', {
sauceConnect: true,
}]
]
}