We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a7f48 commit e0761beCopy full SHA for e0761be
1 file changed
test/data/sandbox/configs/pageObjects/pages/my_page.js
@@ -1,17 +1,17 @@
1
-let I
2
-
3
const MyPage = {
4
_init() {
5
- I = actor()
+ // Legacy method - not needed with inject pattern
6
},
7
8
hasFile(arg) {
9
- I.seeFile('codecept.class.js')
10
- I.seeFile('codecept.po.js')
+ const { I } = inject();
+ I.seeFile('codecept.class.js');
+ I.seeFile('codecept.po.js');
11
12
13
failedMethod() {
14
- I.seeFile('notexistfile.js')
+ I.seeFile('notexistfile.js');
15
16
}
17
0 commit comments