-
-
Notifications
You must be signed in to change notification settings - Fork 751
Expand file tree
/
Copy pathcodecept.Playwright.js
More file actions
46 lines (45 loc) · 993 Bytes
/
codecept.Playwright.js
File metadata and controls
46 lines (45 loc) · 993 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
const TestHelper = require('../support/TestHelper')
module.exports.config = {
tests: './*_test.js',
timeout: 10000,
output: './output',
grep: '@Playwright',
helpers: {
Playwright: {
url: TestHelper.siteUrl(),
show: false,
restart: process.env.BROWSER_RESTART || false,
browser: process.env.BROWSER || 'chromium',
ignoreHTTPSErrors: true,
webkit: {
ignoreHTTPSErrors: true,
},
},
JSONResponse: {
requestHelper: 'Playwright',
},
ScreenshotSessionHelper: {
require: '../support/ScreenshotSessionHelper.js',
outputPath: 'test/acceptance/output',
},
Expect: {
require: '@codeceptjs/expect-helper',
},
},
include: {},
bootstrap: false,
mocha: {},
plugins: {
screenshotOnFail: {
enabled: true,
},
retryTo: {
enabled: true,
},
},
name: 'acceptance',
gherkin: {
features: './gherkin/*.feature',
steps: ['./gherkin/steps.js'],
},
}