Get Started
Get started with a free parallelization using sorry-cypress
Let's start by running a basic sorry-cypress configuration:
We've just launched director
service on http://localhost:1234
- this service coordinates cypress agents and enables free parallelization.
Install and configure cypress-cloud and cypress
cypress-cloud
is an open-source tool for integrating Cypress with alternative cloud services like Currents or Sorry Cypress.
Create a new configuration file: currents.config.js
in the project’s root, set cloudServiceUrl
to self-hosted director service of Sorry Cypress
Add cypress-cloud/plugin
to cypress.config.{js|ts|mjs}
Running cypress tests in parallel
Let's open several terminal windows and run cypress-cloud
in each. Make sure you have cypress tests defined in advance.
You'll notice that different instances of cypress agents are running different tests.
🎉 We've just finished the basic setup of sorry-cypress and ran our tests in parallel!
Use the same
--ci-build-id
to associate different cypress agents with the same runYou can run as many cypress agents as you want - each will run a different test suite
This basic
director
configuration keeps all the test results in memory. Restarting it wipes all the data--key
andprojectId
do not have any effect on the basic setup
Last updated