-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwdio.conf.js
56 lines (55 loc) · 1.1 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
const { TimelineService } = require('wdio-timeline-reporter/timeline-service');
exports.config = {
runner: 'local',
specs: ['./test/**/*.spec.js'],
maxInstances: 10,
capabilities: [
{
maxInstances: 5,
browserName: 'chrome',
acceptInsecureCerts: true,
'goog:chromeOptions': {
args: [
'--disable-infobars',
'--window-size=1280,800',
'--headless',
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--log-level=1',
],
},
},
],
logLevel: 'silent',
bail: 0,
baseUrl: 'http://localhost:8080',
waitforTimeout: 10000,
connectionRetryTimeout: 120000,
connectionRetryCount: 3,
services: [
[
'chromedriver',
{
args: ['--silent'],
},
],
[TimelineService],
],
framework: 'mocha',
reporters: [
'spec',
[
'timeline',
{
outputDir: 'reports',
fileName: 'test-report.html',
screenshotStrategy: 'before:click',
},
],
],
mochaOpts: {
ui: 'bdd',
timeout: 60000,
},
};