forked from Platform-OS/platformos-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecept.conf.js
41 lines (39 loc) · 826 Bytes
/
codecept.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
const { setWindowSize } = require('@codeceptjs/configure');
setWindowSize(1366, 768);
exports.config = {
tests: './tests/codecept/*_test.js',
output: './tmp',
helpers: {
Puppeteer: {
url: process.env.MPKIT_URL,
restart: false, // restart browser between Scenarios
show: false // show Chromium browser while running tests
}
},
include: {
checkLiquidErrors: './tests/codecept/helpers/checkLiquidErrors.js'
},
bootstrap: null,
mocha: {},
name: 'nearme-documentation',
rerun: {
minSuccess: 1,
maxReruns: 3,
},
plugins: {
pauseOnFail: {},
retryFailedStep: {
enabled: true
},
tryTo: {
enabled: true
},
screenshotOnFail: {
enabled: true
},
customLocator: {
enabled: true,
attribute: 'data-test'
}
}
}