Cypress

When generating an application, you are able to automatically generate Cypress tests.

Introduction

Cypress is a next generation front end testing tool built for the modern web. It allows to run multiple end to end tests on all your application features.

Pre-requisites

When generating your application, make sure to check “Cypress” in your optional testing framworks (by pressing the space bar).

cypress-choice

How to use it

Once your application is generated, you can optionally add some entities, it will automatically generate the corresponding tests for your entities. To begin, go to your ClientApp folder:

cd src/YourApplication/ClientApp

Then execute one of the following commands:

npx cypress open

or

./node_modules/.bin/cypress open

For futher information you can visit Cypress wiki.