Cypress is a powerful and easy-to-use E2E testing framework that offers several advantages over other frameworks. Cypress also integrates with popular CI/CD tools, such as GitHub Actions, CircleCI, Buildkite, etc. This facilitates automating system testing workflows.
Cypress XML Reporter
Although there is a default junit reporter built into Cypress, it is very basic and does not capture important failure details like
logs. Thus, we decided to implement a new Cypress XML Reporter that would supports this type of information, including
videos of failing tests. These artifacts are automatically attached to
suites and managed in Testspace.
npm install cypress-xml-reporter --sav-dev
To publish content simply “push” file(s) with the Testspace CLI.
In this example, there are three use cases supported by Testspace that are being demonstrated:
logsgenerated by the cypress terminal report
videocapturing the execution of the tody.cy.js file
screenshotof the test case - displays two todo items by default - that failed (see below)
The following test suite can be viewed HERE:
Get setup in minutes!
Try Testspace risk-free. No credit card is required.
Have questions? Contact us.