Job runCypressTests

This job is used for executing cypress in manual mode with maximum customization.

Job: https://jenkins-aws.indexdata.com/job/folioRancher/job/folioTestingTools/job/runCypressTests/

How to use the job:

  1. Click on “Build with parameters button“

Screenshot 2024-04-05 at 14.56.52.png
  1. Fulfill job parameters and click the “Build“ button

Parameter name

Description

Example value

Parameter name

Description

Example value

CYPRESS_BRANCH

(Required) Select what 'stripes-testing' branch use for build

master

TENANT_URL

Target environment tenant UI URL

https://folio-testing-cypress-diku.ci.folio.org

OKAPI_URL

Target environment OKAPI URL

https://folio-testing-cypress-okapi.ci.folio.org

TENANT_ID

Tenant ID

diku

ADMIN_USERNAME

Tenant admin username

diku_admin

ADMIN_PASSWORD

Tenant admin password

admin

PARALLEL_EXEC_PARAMETERS

Cypress parallel execution parameters.

--env grepTags="smoke"

NUMBER_OF_WORKERS

Numbers of parallel cypress workers, if sequential run leave 1

4

TIMEOUT

(HOURS) Timeout for tests execution

6

CUSTOM_BUILD_NAME

Custom name for build

ExampleRun

TESTRAIL_PROJECTID

To enable TestRail integration, enter ProjectID from TestRail

22

TESTRAIL_RUN_ID

To enable TestRail integration, enter RunID from TestRail

2048

AGENT

Select Jenkins agent for build

rancher

REFRESH_PARAMETERS

Set to true for update pipeline parameters, it will not run a pipeline

false

Screenshot 2024-04-05 at 14.57.54.png
  1. Wait for job completion and check final Allure Report