Skip to content

Glossary: Testing Web Apps

findBy

Also written: findByRole, findByText, findByLabelText

A form of Testing Library query that waits up to 1 second for an element to appear. It's for things that show up after a request finishes.

Where the book teaches it

Related terms

getByqueryByQuery