-
Notifications
You must be signed in to change notification settings - Fork 23
Open
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...
<button type="submit">
<span class="fa fa-user"></span> sign-in
</button>
// this fails, variations...
<span class="fa fa-user"></span>sign-in
<span class="fa fa-user"> </span>sign-in
//...and this doesn't...
<span class="fa fa-user"></span>sign-in
<span class="fa fa-user"></span> sign-in
<span class="fa fa-user"></span>sign-in
No biggie, but was a bit of a surprise trying to figure out why the test failed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels