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
This would block testing new roles (or experimental roles).
So if we start blocking (or warning about) unknown roles, we also need to add a configuration open to add available roles. People might not be able to upgrade Testing Library but are able to use new roles.
@testing-library/dom
version: -Relevant code or config:
What happened:
The testing playground query the element successfully and told me the
div
element has an "item" role.Problem description:
But the "item" role is not a pre-defined ARIA role, so I expect that
screen.getByRole('item')
should not find the element.The text was updated successfully, but these errors were encountered: