From b8ac82bc75229d87938c67c420a4f790b8a9cd0b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Sun, 24 Nov 2024 16:41:21 +0100 Subject: [PATCH] feat: add reportFileName option --- cypress.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cypress.config.js b/cypress.config.js index f8e771093..e9aeb547a 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,4 +1,7 @@ const { defineConfig } = require('cypress'); +// https://docs.cypress.io/app/tooling/reporters +// https://docs.cypress.io/app/references/configuration +// https://www.npmjs.com/package/cypress-mochawesome-reporter module.exports = defineConfig({ e2e: { @@ -16,6 +19,7 @@ module.exports = defineConfig({ reporterOptions: { charts: true, reportPageTitle: 'Cypress Inline Reporter', + reportFilename: '[status]_[datetime]-report', embeddedScreenshots: true, reportDir: 'test/cypress/reports', inlineAssets: true,