mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-08 15:39:54 -06:00
595 B
595 B
Protocol Development
In production, the capture code used to capture and communicate test data will be retrieved from the Cloud. However, in order to develop the capture code locally, developers will:
- Clone the
cypress-servicesrepo- Run
yarn - Run
yarn watchinpackages/app-capture-protocol
- Run
- Clone the
cypressrepo- Run
yarn - Execute
CYPRESS_LOCAL_PROTOCOL_PATH=path/to/cypress-services/packages/app-capture-protocol/dist/index.js CYPRESS_INTERNAL_ENV=staging yarn cypress:run --record --key <record_key> --project <path/to/project>on a project in record mode
- Run