codeceptjs / codeceptjs/CodeceptJS
Custom helper functions are not calling after upgrading from 2 to3
Offen
stale
- Vorherrschende Sprache
- JavaScript
- Sterne
- 4.2k
- Forks
- 757
- Ø Merge
- 2 T. 9 Std.
- Gemergte PRs (30 T.)
- 16
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.