Easy GetAllByRole example
If you’re using React Testing Library and want to test multiple instances of an element but aren’t sure how, stop your searching, you found what you’re looking for. Recently, I was working on a test in which all of my buttons had aria attributes other than role that I wanted to include in my test. …