cypress-bootstrap
Version:
Cypress Bootstrap is a project scaffolding tool that sets up a Cypress automation framework with a standardized folder structure and Page Object Model (POM) design. It helps teams quickly start testing with built-in best practices and sample specs.
22 lines (21 loc) • 645 B
text/typescript
export const reporterConfig = {
reporterEnabled: 'cypress-mochawesome-reporter, mocha-junit-reporter',
cypressMochawesomeReporterReporterOptions: {
charts: true,
reportPageTitle: 'Test Report',
reportDir: 'cypress/reports/html',
embeddedScreenshots: true,
inlineAssets: true,
html: true,
json: true,
},
mochaJunitReporterReporterOptions: {
mochaFile: 'cypress/reports/junit/results-[hash].xml',
toConsole: true,
reporterOptions: {
mochaFile: 'cypress/reports/junit/results-[hash].xml',
attachments: true,
testCaseSwitchClassnameAndName: true,
},
},
};