avh4 / elm-program-test

Test Elm programs
https://elm-program-test.netlify.com/
MIT License
93 stars 27 forks source link

Fix "bad" checks for clickButton role=button case #150

Closed avh4 closed 2 years ago

avh4 commented 2 years ago

Fixes https://github.com/avh4/elm-program-test/issues/149

The "role=button" cases tried to filter out matching <button role="button"> because that's redundant with the <button> cases. The new query type apparently fixed a bug in the querying that made this incorrect check actually start failing. Making the filter more precise seems to solve it.