Cypress JUnit Report Only Includes One Test When Running Multiple Files #32013
Unanswered
dev4Kushal
asked this question in
Plugins
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I’m facing an issue with the JUnit XML report generated when I run multiple Cypress test files.
What I’m doing:
I have two test files:
testsuite1.cy.js → 1 test
testsuite2.cy.js → 1 test
I run them using:
npx cypress run
Cypress shows the correct test summary in the terminal (2 tests: 1 passed, 1 failed), but in the generated JUnit XML file (results.xml), only one test is recorded — the other is missing.
My question:
How can I generate a single JUnit XML file that includes results from all test files?
Thanks a lot for your help!
Best,
Kushal
Beta Was this translation helpful? Give feedback.
All reactions