Skip to content

Cypress Parallel Support #111

@james-wallis

Description

@james-wallis

Is your feature request related to a problem? Please describe.
Hi!
I run Cypress & Percy tests in GitHub Workflows and using the cypress-io/github-action Action in parallel mode. This enables me to use a Matrix to run my Cypress tests in Parallel (taking them from 20 minutes to 5 minutes total so a big win).

I'm also able to use Percy to run snapshot testing in this Parallel system by supplying Percy specific environment variables and prefixing the Cypress command with percy exec -- npx.

Describe the solution you'd like

I want to know when/if Parallel Cypress tests will be supported within Chromatic / if they have then for the documentation to be updated (which I'm happy to do, just point me in the right direction).

Thanks!

Additional context
Add any other context or screenshots about the feature request here.

My Cypress usage with Percy tokens:

      - name: Cypress tests
        uses: cypress-io/github-action@v4
        with:
          start: yarn start
          wait-on: "http://localhost:3000"
          wait-on-timeout: 120
          browser: chrome
          record: true
          parallel: true
          config-file: cypress.config.ts
          command-prefix: 'percy exec --parallel -- npx'
          group: "Skylark UI"
        env:
          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
          PERCY_PARALLEL_TOTAL: 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions