cypress-cloud
Setup and usage instruction for cypress-cloud
Setup
npm install cypress-cloud// currents.config.js
module.exports = {
projectId: "Ij0RfK",
recordKey: "xxx",
// Sorry Cypress users - set the director service URL
cloudServiceUrl: "http://cy.currents.dev",
};// cypress.config.js
const { defineConfig } = require("cypress");
const { cloudPlugin } = require("cypress-cloud/plugin");
module.exports = defineConfig({
e2e: {
// ...
async setupNodeEvents(on, config) {
const result = await cloudPlugin(on, config);
return result;
},
},
});import { defineConfig } from "cypress";
import currents from "cypress-cloud/plugin";
export default defineConfig({
e2e: {
// ...
async setupNodeEvents(on, config) {
const result = await currents(on, config);
return result;
},
}
});Setup with existing plugins
Usage
Documentation
Last updated
Was this helpful?