codeceptjs / codeceptjs/CodeceptJS

Custom helper functions are not calling after upgrading from 2 to3

オープン
#4,780 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
stale
主要言語
JavaScript
スター
4.2k
フォーク
757
平均マージ
2日 9時間
マージ済み PR(30日)
16

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。