Home / Companies / Cypress / Blog / May 2025

May 2025 Summaries

4 posts from Cypress

Filter
Month: Year:
Post Summaries Back to Blog
Chijioke John Njoku is a Cypress Ambassador who is driven by his passion for test automation and the positive impact of Cypress on software quality. As a QA Engineer, he has witnessed the benefits of using Cypress, including simplified testing, enhanced developer efficiency, and accelerated feedback loops. He currently helps others by sharing his expertise through mentoring, troubleshooting, and promoting best practices in test automation. Njoku's favorite Cypress feature is time-travel debugging, which allows him to visually inspect each test step, making debugging more efficient. He emphasizes the importance of keeping tests independent and self-contained, ensuring reliability and preventing flaky tests. Outside of work, he enjoys activities such as traveling and listening to music, and is proud of leading the automation of a major B2B membership platform using Cypress. For new users, he recommends starting with the official documentation and tutorials, and experimenting with sample projects to build confidence and proficiency with Cypress. The Cypress Ambassador program supports top advocates like Njoku, offering speaking opportunities, resources, and visibility within the community.
May 29, 2025 651 words in the original blog post.
Cypress has launched AI-powered Test Generation in its UI Coverage reports, allowing users to quickly add tests for untested elements in their application. This feature works by selecting an interactive element, clicking "Generate test code", and choosing where to add the tests, with Cypress generating a new test that includes setup steps and interactions based on the user's existing patterns. The goal of Test Generation is to provide users with generated test code at the right time, reducing friction in the testing process and helping to maintain comprehensive test coverage. By using UI Coverage and Test Generation, developers can identify untested elements, generate tests, and add coverage without having to start from scratch, making it easier to detect problems and make informed choices about adding coverage. This feature is available now for UI Coverage customers and can be tried out with a free trial, requiring no code instrumentation or setup, and allowing users to see how it performs with their own data.
May 28, 2025 932 words in the original blog post.
UI Coverage is a feature that quantifies how well Cypress tests exercise an application by mapping interactive elements to those actually tested, providing insights into gaps in critical user flows and powering quality gates that can be enforced in CI. To configure UI Coverage effectively, it's essential to apply three stabilizing principles: scoping, identification, and grouping, which involve determining relevant pages, giving unique selectors to functionally distinct elements, and merging functionally identical elements. By applying these principles, UI Coverage's DOM scans can be turned into quality metrics that reflect user journeys, revealing new insights into an app's structure and improving overall testing strategy. Effective configuration of UI Coverage requires thoughtful views, filters, and attribute rules, which can raise the signal-to-noise ratio and yield trustworthy coverage scores, ultimately prompting the addition of clear data-* attributes to make tests more readable and reliable.
May 23, 2025 1,500 words in the original blog post.
The increasing use of Generative AI coding tools in enterprise development has led to a rise in code changes, putting pressure on test automation pipelines to ensure quality and detect issues early. As code changes become more frequent and complex, understanding test coverage becomes more challenging, making it essential to have effective tools to manage risks related to AI-driven code changes. UI Coverage is a valuable tool that provides insights into test suites, allowing developers to understand which parts of their application are covered by automated tests, identify missing coverage, and optimize testing efforts by detecting redundant tests and tracking interactions with UI elements. By leveraging UI Coverage, teams can maintain high-quality test coverage, even as code changes accelerate, and make informed decisions about testing priorities, ultimately ensuring the stability and consistency of their applications. The use of AI-powered test generation and UI Coverage can help teams keep up with the pace of change, identify areas that require more manual testing, and prioritize restoration of skipped or quarantined tests, thereby maintaining the overall quality and reliability of their software.
May 05, 2025 1,540 words in the original blog post.