Releases: cypress-io/circleci-orb
Releases · cypress-io/circleci-orb
v1.27.0 pass the working_directory to the build command
Before:
workflows:
test:
jobs:
- cypress/install:
executor: node-12
working_directory: packages/myapp1
build: cd packages/myapp1 && npm run build
After
workflows:
test:
jobs:
- cypress/install:
executor: node-12
working_directory: packages/myapp1
build: npm run build
v1.26.0 add more executors
To point at the Docker images that have all dependencies to run Cypress v5
v1.25.0 add ci-build-id parameter support
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/install
- cypress/run:
requires:
- cypress/install
record: true
parallel: true
parallelism: 2
ci-build-id: testing-commit-$CIRCLE_SHA1
v1.24.0 debug param and fixed store_artifacts
- added
debug
parameter to setDEBUG
environment variable
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
name: Debug with Cypress CLI logs
debug: cypress:cli
- When using
working_directory
andstore_artifacts
, prepends the paths, closed #278
v1.23.0 add custom command prefix parameter
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
command-prefix: npx percy exec --
v1.22.0 add config parameter
Pass a config value
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
config: pageLoadTimeout=100000,watchForFileChanges=false
v1.21.0 add verify-command parameter
Use your own custom command to verify Cypress has been installed correctly
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
verify-command: 'yarn cypress verify'
If Cypress has been already installed and verified, skip both
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
install-command: echo 'Already installed'
verify-command: echo 'Already verified'
v1.20.0 added latest base executors
cypress/base-12-16-1
cypress/base-12
(points at same 12-16-1)cypress/base-14-0-0
cypress/base-14
(points at same 14-0-0)
v1.19.3 pass timeout and set name for custom command
When using custom command parameter, now passing the timeout parameter, and setting a name
- cypress/run:
timeout: 15m
command: npm run e2e
effective config
- run:
name: Run Cypress tests using custom command
command: npm run e2e
no_output_timeout: 15m
working_directory: ''