codeceptjs / codeceptjs/CodeceptJS
waitForText method doesn't handle the error
Open
- Dominant language
- JavaScript
- Stars
- 4.2k
- Forks
- 757
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 16
Description
#### 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
Contributor guide
Assessment
This issue has not been assessed yet.