...
This is a job to launch cypress tests against existing environment - https://jenkins-aws.indexdata.com/job/Testing/job/Cypress%20tests/
Job parameters:
- branch - cypress tests repository branch to checkout
- uiUrl - target environment UI URL
- okapiUrl - target environment OKAPI URL
- tenant - tenant name for tests
- user - user name of the ${tenant}
- password - user password
- cypressParamerters - cypress execution parameters which will be passed to cypress through the command line
Job steps:
- Checkout cypress tests repository
- Build tests - execute yarn build to download all necessary dependencies
- Cypress tests execution - execute cypress tests
- Generate tests reports - execute allure reports generation
- Publish tests report - publish allure report
- Archive artifacts - archive allure result files
...
This is job is designed to be triggered by cron.
Job parameters:
- branch - cypress tests repository branch to checkout
Scheduled run parameters values:
- branch - master
Job steps:
- 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.
- Run cypress tests - execute https://jenkins-aws.indexdata.com/job/Testing/job/Cypress%20tests/ against environment created on previous step
- Destroy environment - execute https://jenkins-aws.indexdata.com/job/Rancher/job/Project/ to destroy "cypress" environment on "folio-testing" cluster
- Copy downstream job artifacts - copy cypress tests execution results to current workspace
- Publish tests report - publish allure report