Skip to main content

cypress component

Usage Example

include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/cypress@stable
inputs:
environment-identifier: <value>
no-proxy: <value>
proxy: <value>
record-key: <value>
tag: <value>
test-context: <value>

Inputs

NameDescriptionDefaultType
------------
browserfirefoxstring
environmentintstring
environment-identifierEnvironment identifier, typically in the format /review-$CI_PIPELINE_IID-$CI_COMMIT_SHORT_SHAstring
imagepublic.ecr.aws/cypress-io/cypress/included:15.2.0string
namereview:cypressstring
needsJobs that the start job depends on.[]array
no-proxyComma-separated list of hosts to exclude from proxying.string
options--headlessstring
pathPath in the repository to the Cypress tests.tests/e2estring
proxyProxy to use for the tests.string
record-keystring
review-domainDomain to be tested (create it with the review component).$CI_ENVIRONMENT_SLUG.review.xrow.netstring
rulesThe rules to determine when to run the job.[{"if":"$CI_PIPELINE_SOURCE == \"schedule\"","when":"never"},{"if":"$CI_COMMIT_TAG =~ $CI_PATTERN_SEMVER","when":"never"},{"if":"$CI_PIPELINE_SOURCE == \"merge_request_event\"","when":"on_success"},{"if":"$CI_COMMIT_REF_SLUG =~ $CI_DEFAULT_BRANCH","when":"on_success"},{"when":"never"}]array
servicesAdditional services to run alongside the tests. Like a proxy.[]array
stageteststring
tagstring
test-contextstring