-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecept.conf.js
50 lines (47 loc) · 1.1 KB
/
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
42
43
44
45
46
47
48
49
50
const { setHeadlessWhen } = require('@codeceptjs/configure');
// turn on headless mode when running with HEADLESS=true environment variable
// export HEADLESS=true && npx codeceptjs run
setHeadlessWhen(process.env.HEADLESS);
exports.config = {
tests: './*_test.js',
output: './output',
helpers: {
WebDriver: {
url: 'https://mailnesia.com/',
browser: 'firefox',
windowSize: 'maximize',
//desiredCapabilities: {
//chromeOptions: {
//args: ["--headless", "--disable-gpu", "--no-sandbox"]
//}
//}
},
Neo: {
require: './neo_helper.js',
},
MailSlurp: {
require: '@codeceptjs/mailslurp-helper',
apiKey: 'acc5727f0e14117ba308778768c74fd0175d49e56e173776723c321b1684eac8'
}
},
include: {
I: './steps_file.js',
pO_SearchPage: './pages/PO_Search.js',
pO_RegisterPage: './pages/PO_Register.js'
},
bootstrap: null,
mocha: {},
name: 'nyx',
plugins: {
pauseOnFail: {},
retryFailedStep: {
enabled: true
},
tryTo: {
enabled: true
},
screenshotOnFail: {
enabled: true
}
}
}