You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it depends on order of helpers declared in config.
There is no pre-defined list of helpers in the code so CodeceptJS has no differentiation is it standard one
Could you show your current config?
Try to add your own helper latest in the list
If not helps add it as first
We are currently upgrading from CodeceptJS 2.6.11 and Puppeteer 9.1.1 to CodeceptJS 3.6.0 and Puppeteer 24.1.0. However, we have observed that all our scripts are failing because our custom helper functions are not being called.
created custom helper and added async function as below:
async fillField(selector, value) {
await this.puppeteer.fillField(element, value)
await this.puppeteer.page.keyboard.press("Tab")
// function to wait for ajax Load
}
Calling fillField in test files
I.fillField(selector, value) --> Its calling
await this.puppeteer.fillField(element, value)
instead of custom helper functionThe text was updated successfully, but these errors were encountered: