Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 642 Bytes

protocol-development.md

File metadata and controls

10 lines (8 loc) · 642 Bytes

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-services repo (this requires that you be a member of the Cypress organization)
    • Run yarn
    • Run yarn watch in app/capture-protocol
  • Clone the cypress repo
    • Run yarn
    • Execute CYPRESS_LOCAL_PROTOCOL_PATH=path/to/cypress-services/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