-
Notifications
You must be signed in to change notification settings - Fork 45
/
wdio.conf.js
59 lines (44 loc) · 1.08 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
/* globals exports */
exports.config = {
//
// ====================
// Runner Configuration
// ====================
//
// WebdriverIO allows it to run your test in arbitrary locations (e.g. locally or
// on a remote machine).
runner: 'local',
//
// ==================
// Specify Test Files
// ==================
// Define which test specs should run. The pattern is relative to the directory
// from which `wdio` was called. Notice that, if you are calling `wdio` from an
// NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
// directory is where your package.json resides, so `wdio` will be called from there.
//
specs: [
'./tests/specs/**/*.js'
],
// Patterns to exclude.
exclude: [
],
maxInstances: 10,
capabilities: [ {
maxInstances: 5,
browserName: 'chrome'
} ],
logLevel: 'error',
bail: 0,
baseUrl: 'http://localhost:8082',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [],
framework: 'mocha',
reporters: [ 'spec' ],
mochaOpts: {
ui: 'bdd',
timeout: 60000
}
};