Codeception / Codeception/module-webdriver

i-click fails with html entity present...

Đang mở
#62 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
39
Fork
25
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đá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.