Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 878 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 878 Bytes

Example Usage of cypress-cloud

CLI Usage

To run the example, make sure that you have an account at https://app.currents.dev (or Sorry Cypress instance).

Configuration

Update currents.config.js with the projectId, recordKey obtained from a cloud orchestration service. Sorry Cypress users - use the director service URL as cloudServiceUrl.

E2E tests

npm install
npx cypress-cloud --parallel --record --key your_key  --ci-build-id hello-cypress-cloud

Component tests

npm install
npm run build && npm run start
npx cypress-cloud --parallel --record --key your_key --component  --ci-build-id hello-cypress-cloud

API Usage

Take a look at ./scripts/currents-script.ts with the record key and the projectId you've obtained from a cloud orchestration service.

npm run cypress:script