mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-28 18:08:47 -06:00
* chore: add logic to dynamically load new studio functionality * fix types * fix tests * fix * fix tests * fix tests * additional changes to lock things down * clean up code * Update guides/studio-development.md Co-authored-by: Jennifer Shehane <jennifer@cypress.io> * Update protocol-development.md * additional headers * PR comments * Update packages/server/lib/cloud/api/get_app_studio.ts Co-authored-by: Matt Schile <mschile@cypress.io> * Update packages/app/vite.config.mjs * update studio/protocol development guides --------- Co-authored-by: Jennifer Shehane <jennifer@cypress.io> Co-authored-by: Matt Schile <mschile@cypress.io>
642 B
642 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 (this requires that you be a member of the Cypress organization)- Run
yarn - Run
yarn watchinapp/capture-protocol
- Run
- Clone the
cypressrepo- 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
- Run