Cypress e2e test examples with CI/CD integration
For Cypress Component Testing examples, look here.
On initial setup, create the Cypress secrets .env file
cp test/cypress.env.json.example test/cypress.env.json
To start a headless test run use
pnpm test
and to open the Cypress UI use
pnpm test-open
To test the local deployment, first run the following command in a separate terminal window:
pnpm start-app