-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
30 lines (25 loc) · 823 Bytes
/
Copy pathcodecept.conf.js
File metadata and controls
30 lines (25 loc) · 823 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
/* eslint-disable import/no-unresolved, import/no-extraneous-dependencies */
require('@swc-node/register');
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { setHeadlessWhen, setCommonPlugins } = require('@codeceptjs/configure');
// turn on headless mode when running with HEADLESS=true environment variable
// export HEADLESS=true && npx codeceptjs run
setHeadlessWhen(process.env.HEADLESS);
// enable all common plugins https://github.com/codeceptjs/configure#setcommonplugins
setCommonPlugins();
exports.config = {
name: 'buybook-web',
tests: './tests/**/*_test.ts',
output: './output',
helpers: {
Playwright: {
url: 'http://localhost:8080',
show: true,
browser: 'chromium',
},
},
include: {
I: './tests/steps_file',
},
fullPromiseBased: false,
};