E2E Testing with Cypress
We haven't written a single test case so far. Now it's time 🎉.
There are a few ways to write tests for a React/Next.js app. But let's start with End to End(E2E) testing.
With that, we can test the functionality of the app as a whole. Since we are testing what actual users do, it gives us a much better return on investment. (ROI).
But writing reliable E2E tests were hard. Thanks to Cypress, it's not hard anymore. It's so simple to write, debug & run tests with Cypress. See: