Closed
Description
@testing-library/react
version: 11.2.0- Testing Framework and version: Jest (CRA) 26.6.0
- DOM Environment: jsdom
Problem description:
Unable to find role="execute-button000"
It says it can't find that role, but as you can see in the debug print, it clearly exists in the DOM. This also fails for screen.findByRole
This seems to be happening to any component I add a custom role to, and was working in previous versions.
Metadata
Metadata
Assignees
Labels
No labels