Affects Version/s: None
Fix Version/s: None
Component/s: Quality Assurance (QA)
If a 3.x E2E test fails, the relevant GitHub action will fail with an error message. Most of the time the error messages are too generic (ex: “Couldn’t find element X ”) and hard to get an idea of. To identify the issue, the developers must obtain a clone of the QA framework and run the specific test locally using Cypress Runner. Business-type stakeholders require the assistance of developers to identify the actual problem. Moreover, there might be some rare scenarios that are hard to reproduce locally. Especially, the current setup sometimes throws random errors.
Cypress has an inbuilt screen recording feature. So that we could record the screen and attach the recordings of failed tests to the GitHub workflow. With that, anyone can check failing workflow in the QA dashboard and play the attached screen recording without running them locally. It saves a lot of time and effort.
- Setup dev environment
- Add ability to configure ‘upload’ and ‘storage’ of videos separately when test suite passes/fails. · Issue #2522 · cypress-io/cypress · GitHub
- GitHub - actions/upload-artifact
- [Screenshots and Videos | Cypress Documentation|https://docs.cypress.io/guides/guides/screenshots-and-videos]