Skip to content

Files

Latest commit

634ebb3 · Mar 9, 2023

History

History
This branch is 177 commits behind currents-dev/cypress-cloud:main.

webapp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 9, 2023
Feb 24, 2023
Mar 9, 2023
Feb 22, 2023
Feb 18, 2023
Feb 18, 2023
Mar 9, 2023
Mar 9, 2023
Mar 9, 2023
Feb 24, 2023
Feb 24, 2023
Mar 9, 2023
Feb 24, 2023

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