forked from CodeSoom/react-week2-assignment-2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
32 lines (30 loc) · 699 Bytes
/
codecept.conf.js
File metadata and controls
32 lines (30 loc) · 699 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
// eslint-disable-next-line import/no-extraneous-dependencies
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: './test/*_test.js',
output: './output',
helpers: {
Puppeteer: {
url: 'http://localhost:8080',
show: true,
windowSize: '1200x900',
},
},
include: {
I: './steps_file.js',
},
bootstrap: null,
mocha: {},
name: 'assignment-1-1',
plugins: {
retryFailedStep: {
enabled: true,
},
screenshotOnFail: {
enabled: true,
},
},
};