cypress-io / cypress-example-kitchensink

This is an example app used to showcase Cypress.io testing.
https://example.cypress.io/
MIT License
1.2k stars 2.2k forks source link

ci: fix firefox group recording #860

Closed MikeMcC399 closed 1 month ago

MikeMcC399 commented 1 month ago

Issue

This can cause either the linux-test-chrome or linux-test-firefox job to fail, depending on timing. The failure also prevents the release job running.

Due to the PRs coming from a fork, recording is not tested until the PR is merged since Cypress Cloud project Id and record key are secrets.

See https://app.circleci.com/pipelines/github/cypress-io/cypress-example-kitchensink/1898/workflows/a8f38ed8-12fc-4b5f-8964-6920ca320814 for failing workflow.

Change

The Firefox tests are now correctly called with:

cypress-command: 'npx cypress run --browser firefox --record --parallel --group 2x-firefox on CircleCI'
cypress-app-bot commented 1 month ago