Closed ddehart closed 3 years ago
Awesome! Thanks for the credit, means a lot.
@marcosvega91 done! Thanks for the review
Thanks all!
Especially to @JacobMGEvans for all the time and energy you put into this under #27. I should have merged that one ages ago instead of delaying it because of some minor improvements. I'm truly sorry for that to have happened.
Also thanks for @ddehart for picking up that PR, and bring it to a mergeable state again. And to @marcosvega91 for the review. Much appreciated.
:scream: I did it!
@all-contributors please add @ddehart for test
@smeijer
I've put up a pull request to add @ddehart! :tada:
@all-contributors please add @JacobMGEvans for test
@smeijer
I've put up a pull request to add @JacobMGEvans! :tada:
What:
This PR relates to #7 and replaces #27 while incorporating a lot of what @JacobMGEvans learned while working on that PR.
Why:
End-to-end tests can help combat unintentional side effects and regressions.
How:
This PR adds a single end-to-end test that verifies the app's initial rendered state. It also adds some custom commands for Cypress to abstract some of the less obvious queries needed to test Testing Playground. Finally, it adds some properties to several components, some (
data-testid
) purely for Cypress/Testing Library queries and others (title
) that improve both testability and accessibility.Checklist: