Skip to content

Commit 8f12d16

Browse files
author
DavertMik
committed
changed the way expect helper is loaded
1 parent 1ef110a commit 8f12d16

9 files changed

+26
-8
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
},
113113
"devDependencies": {
114114
"@apollo/server": "^4",
115+
"@codeceptjs/expect-helper": "^0.1.0",
115116
"@codeceptjs/mock-request": "0.3.1",
116117
"@faker-js/faker": "9.0.3",
117118
"@pollyjs/adapter-puppeteer": "6.0.6",

test/acceptance/codecept.Playwright.coverage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ module.exports.config = {
2323
require: '../support/ScreenshotSessionHelper.js',
2424
outputPath: 'test/acceptance/output',
2525
},
26-
ExpectHelper: {},
26+
Expect: {
27+
require: '@codeceptjs/expect-helper',
28+
},
2729
},
2830
include: {},
2931
bootstrap: false,

test/acceptance/codecept.Playwright.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ module.exports.config = {
2323
require: '../support/ScreenshotSessionHelper.js',
2424
outputPath: 'test/acceptance/output',
2525
},
26-
ExpectHelper: {},
26+
Expect: {
27+
require: '@codeceptjs/expect-helper',
28+
},
2729
},
2830
include: {},
2931
bootstrap: false,

test/acceptance/codecept.Playwright.retryTo.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ module.exports.config = {
2323
require: '../support/ScreenshotSessionHelper.js',
2424
outputPath: 'test/acceptance/output',
2525
},
26-
ExpectHelper: {},
26+
Expect: {
27+
require: '@codeceptjs/expect-helper',
28+
},
2729
},
2830
include: {},
2931
bootstrap: false,

test/acceptance/codecept.Puppeteer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ module.exports.config = {
1616
require: '../support/ScreenshotSessionHelper.js',
1717
outputPath: './output',
1818
},
19-
ExpectHelper: {},
19+
Expect: {
20+
require: '@codeceptjs/expect-helper',
21+
},
2022
},
2123
include: {},
2224
bootstrap: false,

test/acceptance/codecept.Testcafe.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ module.exports.config = {
99
url: TestHelper.siteUrl(),
1010
show: true,
1111
},
12-
ExpectHelper: {},
12+
Expect: {
13+
require: '@codeceptjs/expect-helper',
14+
},
1315
},
1416
include: {},
1517
bootstrap: false,

test/acceptance/codecept.WebDriver.devtools.coverage.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ module.exports.config = {
2121
require: '../support/ScreenshotSessionHelper.js',
2222
outputPath: './output',
2323
},
24-
ExpectHelper: {},
24+
Expect: {
25+
require: '@codeceptjs/expect-helper',
26+
},
2527
},
2628
include: {},
2729
mocha: {},

test/acceptance/codecept.WebDriver.devtools.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ module.exports.config = {
2121
require: '../support/ScreenshotSessionHelper.js',
2222
outputPath: './output',
2323
},
24-
ExpectHelper: {},
24+
Expect: {
25+
require: '@codeceptjs/expect-helper',
26+
},
27+
2528
},
2629
include: {},
2730
bootstrap: async () =>

test/acceptance/codecept.WebDriver.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ module.exports.config = {
2121
require: '../support/ScreenshotSessionHelper.js',
2222
outputPath: './output',
2323
},
24-
ExpectHelper: {},
24+
Expect: {
25+
require: '@codeceptjs/expect-helper',
26+
},
2527
},
2628
include: {},
2729
bootstrap: async () =>

0 commit comments

Comments
 (0)