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.
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.