Open
Description
Bug Report 🐛
screen. getByRole('listitem')
does nothing. It will correctly point out when clicking on the element that you should use getByRole('listitem')
but then nothing happens when you do.
To Reproduce ✔️
https://testing-playground.com/gist/8e1c0a696406024c7ca3948328d11643/8926981ba1d5840186bdc0db0d039a90d202bd18
https://testing-playground.com/gist/8473f395e8e4cff53ad059184d268db0/4ef2f72a3abc6ee13f07b6f4887744c3053b4fd5
Click on an li
element and see how the query displays // sorry, I failed to provide something useful
Expected behavior 🤔
Li elements would be found, just like getByRole('list')
works
Your Environment 💻
- browser: Chrome
- os: Mac