Loading

By using some of the get* queries, we’re assuming that those elements will be available on the page right when we execute the query. This is a bit of an implementation detail and it’d be cool if we could not make that assumption in our test. Let’s swap all those for find* queries.

Transcript

Improve Reliability of Integration Tests using find* Queries from React Testing Library