Cypress - Bitbucket Pipelines

Running Cypress tests in parallel on Bitbucket Pipelines and Currents dashboard

circle-info

The example config filearrow-up-right:

npx cypress-cloud --key $CURRENTS_RECORD_KEY --parallel

Setup

  • Create an account at https://app.currents.dev

  • Get your Record Key and set Secure Bitbucket Pipeline variablearrow-up-right CURRENTS_RECORD_KEY

  • Get your Project ID and update the contents of currents.config.js

  • Follow the install instructions for cypress-cloudarrow-up-right package

  • Use CLI arguments to customize your cypress-cloud runs, e.g.: npx cypress-cloud run --parallel --record --key <your currents.dev key> --group groupA

  • Note: Currents will automatically detect CI Build ID for Bitbucket Pipeline execution. Read the guidearrow-up-right for more advanced use cases.

  • Note: Refer to the recent Pipeline executionsarrow-up-right to see the setup in action

Adding Bitbucket status check

Currents integration with Bitbucketarrow-up-right posts runs progress and outcome for every Bitbucket Pipeline invocation:

Using Alternative Cypress Binaries

Currents team is maintaining an alternative version of the MIT-licensed Cypress test runner, compatible in features and open for using with recording services like Sorry Cypress and Currents.

See Alternative Cypress Binaries.

Last updated

Was this helpful?