Setting Up a Test Environment

Learn how to set up a Cypress test environment.

Now that we have our demo application ready, let’s integrate Cypress into it so we can test it. To use Cypress with Next.js, we first need to install the following packages: cypress, start-server-and-test, and shell-exec.

Note: These packages are already installed at the backend. You can visit the appendix if you want to learn more about them.

Integrating Cypress

Get hands-on with 1200+ tech skills courses.