Skip to content

Releases: cypress-io/circleci-orb

v1.27.0 pass the working_directory to the build command

20 Jan 23:06
Compare
Choose a tag to compare

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

19 Aug 19:24
Compare
Choose a tag to compare

To point at the Docker images that have all dependencies to run Cypress v5

v1.25.0 add ci-build-id parameter support

24 Jun 18:20
Compare
Choose a tag to compare
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

01 Jun 16:23
Compare
Choose a tag to compare
  • added debug parameter to set DEBUG 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 and store_artifacts, prepends the paths, closed #278

v1.23.0 add custom command prefix parameter

21 May 21:44
Compare
Choose a tag to compare
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

14 May 15:14
Compare
Choose a tag to compare

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

08 May 13:59
Compare
Choose a tag to compare

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

24 Apr 22:08
Compare
Choose a tag to compare
  • 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

24 Apr 14:10
Compare
Choose a tag to compare

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: ''

v1.19.2 build command and store artifacts fixes

20 Apr 17:40
Compare
Choose a tag to compare
  • when using attach-workspace: true and build: ... command, the build command is no longer silently ignored, closes #266
  • when running in a subfolder using working_directory and using store_artifacts: true the path now includes the working directory, closes #265