generated from Idea-Pool/evaluation-js-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecept.conf.js
41 lines (39 loc) · 976 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 { setHeadlessWhen, setWindowSize } = require("@codeceptjs/configure");
// turn on headless mode when running with HEADLESS=true environment variable
// HEADLESS=true npx codecept run
setHeadlessWhen(process.env.HEADLESS);
setWindowSize(1920, 1080);
exports.config = {
tests: "tests/*_test.js",
output: "./output",
helpers: {
Puppeteer: {
url: "http://localhost",
show: true
},
ChaiWrapper: {
require: "codeceptjs-chai"
},
PuppeteerHelper: {
require: "./helpers/puppeteerHelper.js"
}
},
include: {
I: "./steps_file.js",
angularPage: "./pages/angular.js"
},
bootstrap: null,
mocha: {},
name: "evaluation-codecept",
plugins: {
retryFailedStep: {
enabled: true
},
screenshotOnFail: {
enabled: true
},
allure: {
enabled: true
}
}
};