cypress-xray-junit-reporter
Version:
Cypress Reporter | Enhances your Cypress test suite with the cypress-xray-junit-reporter a specialized custom reporter designed to seamlessly generating comprehensive XRay-compatible JUnit-style XML reports, complete with embedded screenshots on test fail
11 lines (9 loc) • 390 B
JavaScript
// Exit codes for cypress-xray-junit-reporter
// Using 100+ range to avoid conflicts with Cypress exit codes (which equal the number of failed tests)
const EXIT_CODES = {
SUCCESS: 0,
XRAY_CONFIG_ERROR: 102, // Xray configuration errors
XML_GENERATION_ERROR: 103, // XML generation errors
MISSING_JIRA_KEYS: 104, // Missing JIRA keys in test cases
}
module.exports = { EXIT_CODES }