Home / Companies / SingleStore / Blog / Post Details
Content Deep Dive

Using Cypress Logs Instead of Videos and Screenshots to Debug Test Failures

Blog post from SingleStore

Post Details
Company
Date Published
Author
Lídia Custódio
Word Count
331
Language
English
Hacker News Points
-
Summary

We used cypress-terminal-report to facilitate debugging test failures by fetching all the Cypress Logs. We are developing a product with a frontend built using Cypress as the primary testing framework, and we have relatively few end-to-end tests that cover multiple layers of our product, including a database engine. These tests can be flaky if not written properly, causing our CI/CD job to fail frequently. To address this issue, we installed the cypress-terminal-report plugin to collect all necessary logs for simple debugging of Cypress tests. The plugin is still in active development and provides a simple way to view console logs printed while tests are run, which helps us diagnose issues more effectively.