Improve tests to actually confirm negative flows as well, ie check that the assertion seeCheckboxIsChecked will actually fail on unchecked checkboxes. Using a single data provider all cases are tested for both seeCheckboxIsChecked and seeCheckboxIsNotChecked assertions.
Per the spec allow any value for the checked attribute, so <input type=checkbox checked=test/> is now properly interpreted as checked as well.
Fixes #22 as a side effect.
This PR improves handling of checkboxes.
seeCheckboxIsChecked
will actually fail on unchecked checkboxes. Using a single data provider all cases are tested for bothseeCheckboxIsChecked
andseeCheckboxIsNotChecked
assertions.<input type=checkbox checked=test/>
is now properly interpreted as checked as well.