Skip to content

Indigo · Testing Guide

Lingxi Li edited this page Apr 6, 2022 · 2 revisions

Getting Started

Before starting the test, you need to make sure that the webpage is already up and running (by executing npm run dev). And then, open another tab of the terminal, run npm run cypress from the same folder. And then a Cypress GUI will open.

Writing Tests

All test files go into the directory /front-end/cypress/integration/business-process/.

You can find an example of how test should work in file /front-end/cypress/integration/examples/example.spec.js.