...
Cypress tests are stored inside the folder/common-hosted-form-service/tests/functional/cypress/e2e
Cypress test scripts are found in https://github.com/bcgov/common-hosted-form-service/tree/main/tests/functional/cypress/e2e
To run the cypress tests heedlessly, go to project root /common-hosted-form-service/tests/functional
and run the following command
...
Cypress workflow
Cypress workflow file will find here https://github.com/bcgovcypress-ci.yaml will be in the project path /common-hosted-form-service
/tree/main/.github/workflows
Workflow runs find here under Actions in the repository
Chefs uses test IDIR and password as GitHub secrets to run cypress tests. By default workflow triggers and cypress runs on dev environment for each push to main branch . When a dev wants to run the cypress tests after the new code pushes to PR environment, Then dev needs to update the GitHub secrets in order to run it on the PR environment. The secrets are stored in the following manner.
...