Install, cache and run Cypress.io tests on CircleCI with minimal configuration.
BREAKING CHANGE - V3
https://github.com/cypress-io/circleci-orb/pull/391
Full Changelog: https://github.com/cypress-io/circleci-orb/compare/v2.2.0...v3.0.0
This release adds executors for:
cypress/base:14-14.2-slim
cypress/browsers:node16.14.0-chrome99-ff97
cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
This release of the CircleCI Orb makes the orb compatible with Cypress v10
To be passed to --env
CLI argument
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
env: userName=Joe,apiKey=1234567890
```
Because Cypress v7 requires at least Node 12
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
To point at the Docker images that have all dependencies to run Cypress v5
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
debug
parameter to set DEBUG
environment variableversion: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
name: Debug with Cypress CLI logs
debug: cypress:cli
working_directory
and store_artifacts
, prepends the paths, closed #278