Skip to content

11_Cypress Testing

mr-carlitos edited this page Jun 24, 2022 · 8 revisions

Introduction

Cypress is a front-end testing tool built for the web. Cypress then enables you to write all types of tests:

  • End-to-end tests
  • Integration tests
  • Unit tests

Using Cypress

We use cypress, to test our front-end functionalities. Therefore, you don't have to test the front-end manually, but instead you may profit from efficient cypress testing algorithms (written by yourself).

Cypress is usually already installed on the Flox infrastructure. If you need to reinstall cypress, then run the following command:

yarn add cypress --dev

If you want to run cypress using the command line, then run:

yarn run cypress open

If you want to learn more about cypress and want to learn about how to write your first E2E, check out the official cypress documentation: Cypress