is it possible to end-to-end tests using react-testing-library?

There’s an example of using React Router within the RTL docs: so it looks like it’s possible. However, I’d recommend using a dedicated e2e testing library such as Cypress to do the job. There is an RTL integration for Cypress so you can follow the same testing principles that RTL advocates.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top