Cypress
A guide for generating Trunk-compatible test reports for Cypress tests
Checklist
Generating Reports
Recommended: Use cypress-junit-plugin for file paths
npm install --save-dev @saucelabs/cypress-junit-pluginconst { defineConfig } = require('cypress')
module.exports = defineConfig({
reporter: '@saucelabs/cypress-junit-plugin',
reporterOptions: {
mochaFile: './junit.xml',
},
})Alternative: Built-in Mocha reporter
Report File Path
Disable Retries
Try It Locally
The Validate Command
Test Upload


Next Step
Last updated
Was this helpful?













