Hi,
Is it possible to keep stepShift for async actor actions from page objects methods?
Right now it seems to loosing its meta step after first async action and reset stepShift.
And long tests reports become a mess without folding.
test.js
Feature('Test');
Scenario.only('Test', async ({ I, testPageObject }) => {
I.amOnPage("https://github.com/codeceptjs")
testPageObject.syncTest();
await testPageObject.asyncTest();
});
test_page_object.js
const { I } = inject();
module.exports = {
syncTest() {
I.see("CodeceptJS");
I.see("Testing Framework");
I.see("examples");
},
async asyncTest() {
const repo1 = await I.grabTextFrom("//ol/li[1]//p[1]");
const repo2 = await I.grabTextFrom("//ol/li[2]//p[1]");
const repo3 = await I.grabTextFrom("//ol/li[3]//p[1]");
},
};