Skip to content

Custom helper functions are not calling after upgrading from 2 to3 #4780

Open
@midhunsanku

Description

@midhunsanku

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 function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions