My strategy to retrieve any element with the Testing Library API
A guide to Testing Library's UserEvent API
A window into React component testing
How to test changes to the local storage on synchronous cases and asynchronous ones using the testing library.