Requirements
- Cypress version 10+
- NodeJS 14.7.0+
Setup
Install the package:
npm install --save-dev @deploysentinel/cypress-cloud
Add @deploysentinel/cypress-cloud/plugin
to cypress.config.{js|ts|mjs}
const { defineConfig } = require("cypress");
const { cloudPlugin } = require("@deploysentinel/cypress-cloud/plugin");
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
return cloudPlugin(on, config);
},
},
});
Usage
CYPRESS_DEPLOYSENTINEL_KEY=YOUR_API_KEY CYPRESS_PROJECT_ID=000000 npx cypress-cloud --parallel --record --ci-build-id JUST_TESTING_LOCALLY