
Stop querying found elements when testing react
Use Testing Library's within() to query nested elements in one readable line and avoid repeating yourself

Use Testing Library's within() to query nested elements in one readable line and avoid repeating yourself

Use the @Nested annotation to group JUnit tests similar to a describe block in jest