@assurka/cypress
v1.0.5
Published
Assurka Cypress Plugin
Downloads
4
Maintainers
Readme
Assurka Studio - Cypress Plugin
Plugin to allow cypress to integrate to Assurka Studio
Installation
Requires Node version 10 or above.
npm install --save-dev @assurka/cypress
Usage
Learn more about how the Plugins file works, see plugins file.
Cypress 10.0+
import { defineConfig } from "cypress";
import { assurka } from "@assurka/cypress";
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
assurka(on, config, {
projectId: "projectId",
secret: "secret",
testPlanId: "testPlanId",
});
},
},
});
const { defineConfig } = require("cypress");
const { assurka } = require("@assurka/cypress");
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
assurka(on, config, {
projectId: "projectId",
secret: "secret",
testPlanId: "testPlanId",
});
},
},
});
Prior to Cypress 10.0
import { defineConfig } from "cypress";
import { assurka } from "@assurka/cypress";
module.exports = (on, config) => {
assurka(on, config, {
projectId: "projectId",
secret: "secret",
testPlanId: "testPlanId",
});
};
const assurka = require("@assurka/cypress");
module.exports = (on, config) => {
assurka(on, config, {
projectId: "projectId",
secret: "secret",
testPlanId: "testPlanId",
});
};
License
Copyright © 2022 Assurka Limited