Codeception / lib-innerbrowser

InnerBrowser
MIT License
79 stars 19 forks source link

matchOption: fix for broken up select #58

Closed johnf closed 2 years ago

johnf commented 2 years ago

Without this I wasn't getting matches on


<option value="1">
  String
</option>
Naktibalda commented 2 years ago

It would be great if you could create a test for this case.

Similar test: https://github.com/Codeception/lib-innerbrowser/blob/master/tests/unit/Codeception/Module/TestsForWeb.php#L309-L317 Form that you can reuse https://github.com/Codeception/lib-innerbrowser/blob/master/tests/data/app/view/form/select.php (either modify the option not used by other tests or add your own).