Skip to content

Releases: cypress-io/circleci-orb

v1.2.0: feat: store screenshots and videos as test artifacts on CircleCI

11 Dec 15:16
Compare
Choose a tag to compare

stores any generated screenshots and videos locally on CircleCI as test artifacts.

Example

version: 2.1
  orbs:
    cypress: cypress-io/[email protected]
  workflows:
    build:
      jobs:
        - cypress/run:
            store_artifacts: true

v1.1.2: fix: remove group name unless user passes one

11 Dec 15:13
Compare
Choose a tag to compare

to avoid triggering paid plan feature check

v1.1.1: remove job "hello"

05 Dec 15:46
Compare
Choose a tag to compare

Removed dummy job and command "hello" used for exploring how to write orb

v1.1.0: feat: add wait-on parameter

28 Nov 15:49
Compare
Choose a tag to compare

Allows to delay tests until the server responds

Example

Starts server, waits for it to respond and then runs all Cypress tests. Uses npx wait-on ... command under the hood, see wait-on

version: 2.1
orbs:
  cypress: cypress-io/[email protected]
workflows:
  build:
    jobs:
      - cypress/run:
          start: npm start
          wait-on: 'http://localhost:4200'

Note: if you are using webpack development server, it does not respond to HEAD requests, so you need to tell wait-on to use GET request like this

version: 2.1
orbs:
  cypress: cypress-io/[email protected]
workflows:
  build:
    jobs:
      - cypress/run:
          start: npm start
          wait-on: 'http-get://localhost:4200'

fix: base-10 image

16 Nov 20:21
Compare
Choose a tag to compare

Updated the image name used by default, otherwise cypress/base-10 was not found, see #34 (comment)

v1.0.0: public release

07 Nov 03:43
Compare
Choose a tag to compare

Public release of this Cypress CircleCI Orb

For full documentation see https://on.cypress.io/circleci-orb.

v0.6.0: feat: custom test command

06 Nov 03:13
Compare
Choose a tag to compare

You can pass arbitrary test command

version: 2.1
orbs:
  cypress: cypress-io/[email protected]
workflows:
  build:
    jobs:
      # checks out code and installs dependencies once
      - cypress/run:
          command: 'npm run cy:run -- --record false'

v0.5.0: feat: pass spec parameter

05 Nov 22:50
Compare
Choose a tag to compare

You can select a subset of spec files to execute using spec: <glob> parameter

version: 2.1
orbs:
  cypress: cypress-io/[email protected]
workflows:
  build:
    jobs:
      - cypress/run:
          record: false
          spec: "cypress/integration/*-b.js"

v0.4.1: feat: executor and browser parameters

05 Nov 22:32
Compare
Choose a tag to compare

You can pass a custom executor name (which closely mirrors Cypress docker image name). You can also pass browser parameter. For example to run end-to-end tests using Chrome in a Docker image that has it installed

version: 2.1
orbs:
  cypress: cypress-io/[email protected]
workflows:
  build:
    jobs:
      - cypress/run:
          executor: cypress/browsers-chrome69
          browser: chrome