michaelleeallen / mocha-junit-reporter

A JUnit XML reporter for mocha.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Placeholders in reports are not working

karoukastro opened this issue · comments

[hash] is working fine but I'd like to move to the one of the new placeholders [testsuitesTitle], [rootSuiteTitle], [suiteFilename] or [suiteName]. I just changed [hash] to [suiteFilename] but it is not replacing correctly. And I tried with all the others placeholders with same result. Am I missing some other configuration?
Versions:
"cypress": "^9.4.1",
"cypress-mochawesome-reporter": "^3.0.0",
"cypress-multi-reporters": "^1.5.0",
"junit-report-merger": "^3.0.5",
"mocha": "^9.2.2",
"mocha-junit-reporter": "^2.0.2"

image

I can also replicate this problem with "cypress": "^12.2.0"

Hello,
I think these placeholders are only available starting from version 2.2.0 of mocha-junit-reporter. I'm running into the same issue using cypress 12.4.1, but I'm not sure which version of mocha-junit-reporter is bundled with cypress.