mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-04 22:10:40 -05:00
2dce6d5831
* 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>
11 lines
642 B
Markdown
11 lines
642 B
Markdown
# 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
|