-
-
Notifications
You must be signed in to change notification settings - Fork 736
/
Copy pathcodecept.config.js
77 lines (75 loc) · 1.45 KB
/
codecept.config.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
require('./heal_recipes')
exports.config = {
output: './output',
helpers: {
Playwright: {
url: 'http://github.com',
browser: 'chromium',
// restart: 'context',
// show: false,
// timeout: 5000,
windowSize: '1600x1200',
// video: true,
chromium: {
// browserWSEndpoint: 'ws://127.0.0.1:45635/09b7aa1ac28c317e5abee7cb6d35d519',
},
show: !process.env.HEADLESS,
},
REST: {},
User: {
require: './user_helper.js',
},
},
include: {
I: './custom_steps.js',
Smth: './pages/Smth.js',
loginPage: './pages/Login.js',
signinFragment: './fragments/Signin.js',
},
mocha: {
reporterOptions: {
mochaFile: './output/result.xml',
},
},
gherkin: {
features: './features/*.feature',
steps: ['./step_definitions/steps.js'],
},
plugins: {
analyze: {
enabled: true,
},
// heal: {
// enabled: true,
// },
// customReporter: {
// enabled: true,
// },
wdio: {
enabled: false,
services: ['selenium-standalone'],
},
stepByStepReport: {},
autoDelay: {
enabled: false,
},
retryFailedStep: {
enabled: false,
},
subtitles: {
enabled: true,
},
},
tests: './*_test.js',
// timeout: 100,
multiple: {
parallel: {
chunks: 2,
},
default: {
grep: 'signin',
browsers: ['chrome', 'firefox'],
},
},
name: 'tests',
}