You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search element is not found by getByRole('search'). I was expecting the role search was okay for that element since that's mentioned in this table.
@testing-library/dom
version: UnknownI ran
npm list | grep @testling-library
and I didn't get@testing-library/dom
:Relevant code or config:
What you did:
I searched the search element by role
search
and expected it will be found. As it seems the proper role for that element.What happened:
My test failed:
Reproduction:
https://stackblitz.com/edit/dtl-template-ryhamkss?file=src%2Fmain.test.ts
Problem description:
The search element is not found by
getByRole('search')
. I was expecting the role search was okay for that element since that's mentioned in this table.Suggested solution:
Maybe a change like the one done to solve this issue could be the answer.
The text was updated successfully, but these errors were encountered: