Cypress tests pipeline

This is a job to launch cypress tests against existing environment - https://jenkins-aws.indexdata.com/job/Testing/job/Cypress%20tests/

Job parameters:

Job steps:

  1. Checkout cypress tests repository
  2. Build tests - execute yarn build to download all necessary dependencies 
  3. Cypress tests execution - execute cypress tests
  4. Generate tests reports - execute allure reports generation
  5. Publish tests report - publish allure report
  6. Archive artifacts - archive allure result files

Scheduled cypress tests pipeline

This is a job which creates a new environment, launch cypress tests against it, drops environment, publish tests results - https://jenkins-aws.indexdata.com/job/Testing/job/Scheduled%20Cypress%20Tests/

This is job is designed to be triggered by cron.

Job parameters:

Scheduled run parameters values:

Job steps:

  1. Create environment - execute https://jenkins-aws.indexdata.com/job/Rancher/job/Project/ to create a new "cypress" environment on "folio-testing" cluster. Folio configuration is taken from "platform-complete" repo, "snapshot" branch.
  2. Run cypress tests - execute https://jenkins-aws.indexdata.com/job/Testing/job/Cypress%20tests/ against environment created on previous step
  3. Destroy environment - execute https://jenkins-aws.indexdata.com/job/Rancher/job/Project/ to destroy "cypress" environment on "folio-testing" cluster
  4. Copy downstream job artifacts - copy cypress tests execution results to current workspace
  5. Publish tests report - publish allure report