react-spectrum
aed5ed9d - Upgrade testing infrastructure (#424)

Commit
5 years ago
Upgrade testing infrastructure (#424) * removed extra root getBy* no longer just picks up the first, it only works if there is literally only one that matches remove all cleanups, was removed two majors ago in react-testing library in an effort to enforce test isolation by author, change rogue cleanup calls to unmount added explicity {hidden: true} to getBy*'s that need to find things hidden from the aria accessibility tree (more realistic and intentional) Forms, by aria law, must have a label of some sort in order to be considered a valid role=form things to follow up with: change wait's to waitFor/waitForDomChange etc * fix lint * Change actionbutton tests so we get more info on what is failing v2 textarea's have duplicate data-testids because they get placed on two elements for some reason, that is probably a bug in v2 * Removed components with bugs that causes tests to fail * fix lint * code review comments * remove illegal prop * fix our Meter tests * fix bug in hidden select * Fix merge * Remove todo's, there are links in the jira tickets created for them * remove silly comment
Author
Parents
Loading