-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecept.conf.js
More file actions
30 lines (28 loc) · 828 Bytes
/
codecept.conf.js
File metadata and controls
30 lines (28 loc) · 828 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
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();
/** @type {CodeceptJS.MainConfig} */
exports.config = {
tests: './*_test.js',
output: './output',
helpers: {
WebDriver: {
url: 'https://opensource-demo.orangehrmlive.com/web/index.php/auth/login/',
browser: 'chrome',
windowSize: 'maximize'
}
},
include: {
I: './steps_file.js',
loginPage: "./pages/login.js",
addemployeePage: "./pages/addemployee.js",
addAdminPage: "./pages/addAdmin.js",
},
name: 'Demo_Project_01'
}