You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement this but i'm struggling to find the best approach.
What i'm thinking about is to add a third parameter when used for <option value="option value">option text</option> tag to specify if option text OR option value should be evaluated.
I find it hard to analyze both at the same time because in either case an assertEquals() would fail. If both are false it would be impossible to discriminate which of the two is the correct failing assertion.
Another way could be a brand new method, something like seeOptionValueIsSelected()
At present this will work for PHP Browser module:
$I->seeOptionIsSelected('#select', 'My Option Text');
but this will not:
$I->seeOptionIsSelected('#select', 'my-option-value');
It would AMAZING if the second worked.
The text was updated successfully, but these errors were encountered: