Integrating with Cypress
Overview of tools available for integrating cypress with Currents or Sorry Cypress
TL;DR
- cypress-cloud is the preferred way to use Currents, it is compatible with cypress 10.0.0+
- @currents/cli is a legacy integration, it is incompatible with cypress 12.6.0+
Currents and Sorry Cypress provide two ways for integrating with cypress runner using the following npm packages:
Both solutions are open-source tools that provide an executable + a programmatic API for integrating cypress with cloud orchestration and recording services like Currents or Sorry Cypress.
The tools use cypress behind the scenes and provide the same flags and configuration options as the original cypress runner.
@cypress/cli works by rerouting orchestration and recording network requests to currents.dev (or sorry-cypress) servers. It uses the original, "native" orchestration protocol defined by the cypress runner. In Feb 2023 Cypress.io team decided to restrict access to its internal orchestration and recording protocol, preventing the use of @currents/cli (affected versions are 12.6.0+).
cypress-cloud implements its own parallelization and recording protocol and runs cypress in "offline" mode, without tinkering with the cypress internals. The package uses the conventional public APIs that are available for every developer and that are being used by hundreds of plugins and complimentary tools of Cypress ecosystem. It is compatible with versions 10.0.0+.
We recommend using cypress-cloud for all new installations.
Last modified 6mo ago