codeceptjs / codeceptjs/CodeceptJS

waitForText method doesn't handle the error

Open
#2,344 1 comment 0 reactions 0 assignees View on GitHub
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

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.