diff --git a/cypress.config.js b/cypress.config.js index f4e3c34c..3da46965 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -12,9 +12,20 @@ module.exports = defineConfig({ numTestsKeptInMemory: 0, video: false, screenshotOnRunFailure: false, + reporter: 'cypress-mochawesome-reporter', + reporterOptions: { + charts: true, + reportPageTitle: 'Hedera-Web E2E Reporter', + embeddedScreenshots: true, + reportDir: 'src/test/cypress/reports', + inlineAssets: true + }, setupNodeEvents(on, config) { + require('cypress-mochawesome-reporter/plugin')(on); on('after:spec', (spec, results) => { console.log('Finished running', spec.relative); + console.log('❌spec:', results.stats.failures); + console.log('✅spec:', results.stats.passes); }); } }