-
Notifications
You must be signed in to change notification settings - Fork 0
/
cucumber.js
32 lines (26 loc) · 916 Bytes
/
cucumber.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
const common = `
--require config/config.js
--require setup/assertions.js
--require setup/hooks.js
--require step-definitions/**/*.js
--format html:./reports/cucumber_report.html
--format summary --format @cucumber/pretty-formatter
--no-strict
},
`;
const e2eTestForBoost = `
--require config/config.js
--require setup/assertions.js
--require setup/hooks.js
--require tests/e2eTestForBoost/base-setup/baseSetup.js
--require tests/e2eTestForBoost/step-definitions/**/*.js
--format json:./reports/${process.env.REPORT_FILE_NAME}.json
--format summary --format @cucumber/pretty-formatter
--no-strict
},
`;
module.exports = {
default: `${common} features/**/*.feature`,
//*********************** AutomationPractice DESKTOP **************************//
e2eTestForBoost: `${e2eTestForBoost} tests/e2eTestForBoost/features/desktop/**/boostPost.feature`,
};