We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let cypress = require("cypress"); return cypress.run({ "reporter": "junit", "reporterOptions": { "mochaFile": dist + "/junit[hash].xml" } }).then(() => mergeOutput(dist + "/*.xml", reports + "/junit.xml"));
Actually, I have the necessity to dynamically change the report path depending on the environment where the tests are run.
Cypress creates *.hash.xml and overwrites it after processing of each *.spec.js file.
*.hash.xml
*.spec.js
Cypress creates the report file with the unique name for every *.spec.js file.
Cypress 3.0.2
The text was updated successfully, but these errors were encountered:
bump dep mocha-junit-reporter from ^1.13.0 to 1.17.0 (#2224)
ce3ab55
- address #2221 - fixes #1357 - fixes #1348 - [x] update test to test `testCaseSwitchClassnameAndName` reporter option https://github.com/cypress-io/cypress/blob/issue-2221/packages/server/test/e2e/reporters_spec.coffee#L38
Fixed by #2224
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Steps to reproduce:
Actually, I have the necessity to dynamically change the report path depending on the environment where the tests are run.
Current behavior:
Cypress creates
*.hash.xml
and overwrites it after processing of each*.spec.js
file.Desired behavior:
Cypress creates the report file with the unique name for every
*.spec.js
file.Versions
Cypress 3.0.2
The text was updated successfully, but these errors were encountered: