From b217d480941e092ff1185ac20848cf76bedc4201 Mon Sep 17 00:00:00 2001 From: Jim Birch <5177009+thejimbirch@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:43:01 -0400 Subject: [PATCH] Add test name and pass/fail to Cypress reports (#200) * Add test name and pass/fail to the report * Adds charts * Adds Datetime * Two dashes makes it more readable --- tests/cypress/reporter-config.json | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/tests/cypress/reporter-config.json b/tests/cypress/reporter-config.json index dc7c320..ed99330 100644 --- a/tests/cypress/reporter-config.json +++ b/tests/cypress/reporter-config.json @@ -1,12 +1,15 @@ { - "reporterEnabled": "mochawesome, mocha-junit-reporter, spec, json", - "mochawesomeReporterOptions": { - "reportDir": "cypress/results", - "overwrite": false, - "html": true, - "json": true - }, - "mochaJunitReporterReporterOptions": { - "mochaFile": "cypress/junit/[hash].xml" - } + "reporterEnabled": "mochawesome, mocha-junit-reporter, spec, json", + "mochawesomeReporterOptions": { + "charts": true, + "html": true, + "json": false, + "overwrite": false, + "reportDir": "cypress/results", + "reportFilename": "[status]--[name]--[datetime]", + "timestamp": "default" + }, + "mochaJunitReporterReporterOptions": { + "mochaFile": "cypress/junit/[hash].xml" + } }