Codeception / Codeception/module-webdriver

i-click fails with html entity present...

Open
#62 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
39
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.