codeceptjs / codeceptjs/CodeceptJS

waitForText method doesn't handle the error

未关闭
#2,344 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
4.2k
派生
757
平均合并
2 天 9 小时
30 天内合并 PR
16

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。