-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getByRole with name not working properly for output element #866
Comments
Thanks for the report. Could you run |
|
I found this same exact problem with |
This is especially confusing when using testing-playground, which correctly recognizes and suggests
See example here: https://testing-playground.com/gist/245483648b836ab0f47ff6912d7ed310/e09e4502784d8d22535c6a6b02ec7ad650e941ce Edit: I found this issue by searching for the error message |
@testing-library/dom
version: 7.29.0Relevant code or config:
What you did:
npm test
What happened:
Reproduction:
Problem description:
The accessible role "status" should have the name "Output Label", but the error help message shows that the name is empty.
Suggested solution:
The text was updated successfully, but these errors were encountered: