run-cypress

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

This Pipelines Task can be used to run Cypress tests.

Prerequisites

None

Usage

Basic:

- task: jfrog/run-cypress@v0.1.0 

Input Variables

Name

Required

Default

Description

workingDirectory

false

Path to the pipelines step folder containing the cypress tests

browser

false

 

Browser name or path. Additional documentation here

ci-build-id

false

Unique ci build id. Additional documentation here

component

false

false

Run component tests. Additional documentation here

config

false

Set configuration values. Additional documentation here

config-file

false

Path to configuration file. Additional documentation here

e2e

false

true

Run end to end tests.

env

false

Specify environment variables. Additional documentation here

group

false

 

Additional documentation here

headed

false

false

Use headed mode. Additional documentation here

headless

false

true

Use headless mode. Additional information here

key

false

Additional information here

parallel

false

false

Run tests in parallel. Additional information here

port

false

Port. Additional information here

project

false

Additional information here

quiet

false

false

Do not print cypress output

record

false

Record test results to Cypress Cloud. Additional information here

reporter

false

Select reporter. Additional information here

reporter-options

false

Reporter options. Additional information here

spec

false

Run specific test file. Additional information here

tag

false

Tag the recorded run. Additional information here

Output Variables

None

Exported Environment Variables

None

How does it work?

The task runs the cypress command inside a Docker container using cypress/included:12.0.0 Docker image.

License

This project is licensed under Apache 2.0 license.