-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
38 lines (36 loc) · 880 Bytes
/
Copy pathcodecept.conf.js
File metadata and controls
38 lines (36 loc) · 880 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
36
37
38
require('import-export');
const { getStepsByAppNames } = require('./app/common/utils');
const { appilcationNames } = require('./app/common/constants');
const environment = process.env.NODE_ENV || 'local';
const appNames = (process.env.APP_NAMES || appilcationNames.APP1).split(',');
exports.config = {
output: './app/output',
helpers: {
Puppeteer: {
url: 'https://github.com',
show: environment !== 'integration',
windowSize: '1440x700',
},
},
include: {
I: './steps_file.js',
},
mocha: {},
bootstrap: null,
teardown: null,
hooks: [],
gherkin: {
features: './app/**/features/*.feature',
steps: [
...getStepsByAppNames(appNames),
'./app/common/genericSteps.js',
],
},
plugins: {
screenshotOnFail: {
enabled: true,
},
},
tests: './app/**/tests/*.js',
name: 'automation-starter',
};