-
Notifications
You must be signed in to change notification settings - Fork 0
/
wdio.conf.js
44 lines (44 loc) · 1017 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
// eslint-disable-next-line no-undef
exports.config = {
runner: 'local',
// eslint-disable-next-line no-undef
hostname: process.env.HUB || 'localhost',
port: 4444,
path: '/wd/hub',
specs: [
'./test/specs/**/*'
],
exclude: [],
maxInstances: 10,
capabilities: [{
maxInstances: 5,
// eslint-disable-next-line no-undef
browserName: process.env.BROWSER || 'firefox',
}],
logLevel: 'info',
bail: 0,
baseUrl: 'https://the-internet.herokuapp.com',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [],
framework: 'mocha',
reporters: [
'spec',
[
'junit', {
outputDir: './',
outputFileFormat: function (options) { // optional
return `results-${options.cid}.xml`
}
}
]
],
mochaOpts: {
ui: 'bdd',
require: 'ts-node/register',
compilers: [
'tsconfig-paths/register'
]
},
}