️
Testing Playground
GitHub
Docs
Query Priority
Common Mistakes
Docs
Query Priority
Common Mistakes
1
1
Try adding some html
3
1
screen
.
getByRole
(
'button'
, {
2
name
:
/accept/i
3
})
Error: Unable to find an accessible element with the role "button" and name `/accept/i`