You First Cypress Run
Running cypress tests in parallel with Currents dashboard
Setting up Currents for running and recording cypress tests in parallel can be done seamlessly within a few minutes.
Here's an overview of what steps you'll need to take to start running cypress tests in parallel using Currents dashboard:
  • Create an organization and a project
  • Update cypress.json with newly created projectId
  • Install cypress and @currents/cli npm packages
  • Use currents CLI command to create your first run
  • Update your CI provider configuration

Create New Organization and a Project

After signing up to the dashboard service, you will be prompted to create a new organization and a project. You can change the name later.
Creating Organization and Project in Currents dashboard
After creating a new organization and a project, you'll see on-screen instructions with your newly created projectId

Update cypress.json with newly created projectId

Please note: If you don't have cypress project ready, please clone a demo repository with predefined cypress tests and GitHub actions integration.
Edit cypress.json file and set the projectId of the newly created project.

Install @currents/cli and cypress npm packages

Please note: cypress versions 6.7.0 and up are supported
Use your favourite NodeJS package manager to install @currents/cli and cypress packages.
1
npm install @currents/cli cypress
Copied!

Create your first cypress run

Run currents command to create your first cypress run in Currents dashboard.
1
npx currents run \
2
--parallel \
3
--record \
4
--key RECORD_KEY \
5
--ci-build-id hello-currents
Copied!
Running this command will create a new run in Currents dashboard.
Creating first cypress run with Currents dashboard
Learn more about

Update your CI provider configuration

To unlock the full power of Currents dashboard, update your CI provider configuration to use Currents for running your cypress tests in parallel.
Please read our Parallelization Guide and check out few CI Setup examples for popular CI tools.