Example repo showing how the Cypress Test Runner, the Cypress XML Reporter, and Testspace can work together. The repo demonstrates how screenshots
, videos
, and logs
of failing tests are attached to suites
and managed in Testspace.
In this example, there are three use cases supported by Testspace that are being demonstrated:
- The
logs
generated by the cypress terminal report - The
video
capturing the execution of the tody.cy.js file - The
screenshot
of the test case - displays two todo items by default - that failed (see below)
The following test suite can be viewed HERE:
The cypress/e2e/1-getting-started/tody.cy.js
test file is being used as an example.
The following screenshot of the failing test case -- displays two todo items by default
- can be viewed HERE by expanding the arrow (>) and clicking on #3
as displayed above:
To play around with this example:
- fork the repo
- Enable workflows (required when forking a repo)
- Install the Testspace app - https://github.com/marketplace/testspace-com
- Create a Testspace project based on your repo
Note. You can run the tests using GitHub Actions, with a
push
orworkflow dispatch
event.
Refer to the Help Tutorial for instructions for setting up a Testspace project.