codeceptjs / codeceptjs/CodeceptJS

waitForText method doesn't handle the error

Aperta
#2,344 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
4.2k
Fork
757
Merge medio
2g 9h
PR unite (30g)
16

Descrizione

#### Im trying to use `waitForText` method with `text` and `locator` arguments without `sec` because its already declared in `codecept.conf`
AND it just freezes. No error, exception and etc.
But if I clearly write `sec` all will be fine.
its like ` I.waitForText(text, 6, locator)` - work
` I.waitForText(text, locator)` - doesn't work
### Details

* CodeceptJS version: 2.6.0
* NodeJS Version: 12.0
* Operating System: macOS
* puppeteer

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.