Codeception / Codeception/module-webdriver

i-click fails with html entity present...

Aperta
#62 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
39
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.