Cypress as a Development Tool

Let's learn how to use Cypress as a development tool.

We'll cover the following...

Up to this point, we have tested an existing front-end application. Usually, however, we actually write the tests after the entire implementation (frontend and backend).

While we code the flow, we want to avoid fighting with erring testing. This is why we manually test the half-built flow. However, we often spend a considerable amount of time using components with temporary props and hard-coding temporary snippets which send us directly to the desired state of the app. When we finish, we remove all the temporary code and start writing the tests.

Limintations

This process has a lot of limitations:

  • Manually interacting with the app is very slow. ...