1.0.1 • Published 1 year ago
cy-tests-reporter v1.0.1
Cypress Test Scripts Generator
Installation
npm install cy-tests-reporter --save-dev
Installation using Yarn
yarn add cy-tests-reporter -D
cypress.config.js
const { defineConfig } = require("cypress");
const exportToExcel = require('cy-tests-reporter')
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
on('after:run', async (results) => {
await exportToExcel()
})
},
}
});