codeceptjs / codeceptjs/CodeceptJS

waitForText method doesn't handle the error

Đang mở
#2,344 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

#### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.