forked from x3388638/github-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
35 lines (33 loc) · 717 Bytes
/
codecept.conf.js
File metadata and controls
35 lines (33 loc) · 717 Bytes
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
const { setHeadlessWhen } = require('@codeceptjs/configure')
// turn on headless mode when running with HEADLESS=true environment variable
// HEADLESS=true npx codecept run
setHeadlessWhen(process.env.HEADLESS)
exports.config = {
tests: './__e2e__/*.test.js',
output: './__e2e__/output',
helpers: {
Puppeteer: {
url: 'http://127.0.0.1:8080',
show: true,
windowSize: '1200x900'
}
},
include: {
I: './steps_file.js'
},
bootstrap: null,
mocha: {},
name: 'github-explorer',
plugins: {
retryFailedStep: {
enabled: true
},
screenshotOnFail: {
enabled: true
},
customLocator: {
enabled: true,
attribute: 'data-test'
}
}
}