Skip to content

Commit

Permalink
Add test name and pass/fail to Cypress reports (#200)
Browse files Browse the repository at this point in the history
* Add test name and pass/fail to the report

* Adds charts

* Adds Datetime

* Two dashes makes it more readable
  • Loading branch information
thejimbirch authored Sep 13, 2024
1 parent 47e2ced commit b217d48
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions tests/cypress/reporter-config.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit b217d48

Please sign in to comment.