CircleCI
Running cypress tests in parallel on CircleCI and Currents dashboard
Create multiple containers that will run your cypress tests in parallel by setting the desired amount of containers with
parallelism
flag in config.yaml
file.Each container will receive a unique set of tests to run, so that your cypress tests will run faster and you can receive faster feedback from your browser test suite.
Currents orchestrates the tests between multiple containers, applying intelligent optimizations to reduce overall runtime of your workflow, records screenshots and videos for later troubleshooting.
Please refer to example repository that demonstrates how to setup CircleCI for running cypress tests in parallel using Currents service.
- runs 5 containers with cypress tests in parallel
- uses Custom Test Command to run
currents
for recording test results and parallelization with Currents.dev - Note: use CLI arguments to customize your cypress runs, e.g.:
cypress-cloud run --record --key <your Currents.dev key>
- Note: create an organization, get your record key at Currents.dev and set Environment variable
CURRENTS_RECORD_KEY
Here's an example of the demo run in Currents.dev dashboard, note that 3 cypress agents were used as part of this run:

Running cypress tests in parallel on CircleCI
Last modified 2mo ago