Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Cypress tests are stored inside the folder/common-hosted-form-service/tests/functional/cypress/e2e

To run the cypress tests heedlesslyFor headless cypress runs, go to project root /common-hosted-form-service/tests/functional and run the following command

...

Cypress workflow file cypress-ci.yaml will be in the project path /common-hosted-form-service/.github/workflows

Workflow runs find under Actions in the repository

Workflow_location.pngImage Removed

Chefs uses test IDIR and password as GitHub secrets to run cypress tests. The secrets are stored in the following manner. Secret variable KEYCLOAKUSERNAME is test IDIR username and KEYCLOAKPASSWORD is test IDIR password.

...

When a dev wants to run the cypress tests after the new code pushes to PR environment, Then dev needs to enter PR number in order to run it on the PR environment. .

...

Cypress report for the successful run will be like this

cypress_sucess_report.pngImage Removed

Cypress report with the failed tests will be look like below with screenshots available to download and view where the test fails

Cypress_failure_report.pngImage Removed

Cypress workflow triggers automatically after each PR deployment. Cypress report will be look like this

...