codeceptjs / codeceptjs/CodeceptJS

Custom helper functions are not calling after upgrading from 2 to3

Open
#4,780 4 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
JavaScript
Stars
4.2k
Forks
757
Avg merge
2d 9h
Merged PRs (30d)
16

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.