FAQ | This is a LIVE service | Changelog

Skip to content

Implement Cypress tests in CI pipeline

Description:

We need to integrate Cypress end-to-end tests into our CI pipeline to ensure continuous testing for the frontend. This will allow us to automatically run the Cypress tests during every push, merge request, or tag in our GitLab repository.

Background:

Currently, Cypress tests are run locally using Docker Compose (docker compose run --build --rm cypress), but they are not integrated into the CI/CD pipeline.

Acceptance Criteria:

  • Cypress tests are automatically run in the GitLab CI pipeline.
  • The pipeline fails if any Cypress tests fail.
  • README.md is updated to include information about Cypress tests in the CI pipeline.

Notes:

  • Reference the existing Auto DevOps GitLab templates and any other relevant CI configuration already in use.
  • @ek599 to update this issue if preview of alternate testing mechanism available.
Edited by Mike Knee