Codeception / Codeception/module-webdriver
i-click fails with html entity present...
- 主要语言
- PHP
- 星标
- 39
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
描述
Seems like this is an aggressive regex type deal, but having an html entity inlined inside a button causes an acceptance test fail. Doesn't seem to matter what the entity is. It seems a blank space is needed to cause the entity to be ignored.
```
// $i->click('sign-in');
// this fails...
sign-in
// this fails, variations...
sign-in
sign-in
//...and this doesn't...
sign-in
sign-in
sign-in
```
No biggie, but was a bit of a surprise trying to figure out why the test failed.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by reproducing i->click('sign-in') with the button and HTML entity variations shown in the issue. Trace the WebDriver module's text matching for the click target; done means the acceptance click succeeds when an entity appears inline in the button content.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- testing-qa
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100