
Cypress 10 is a major milestone for anyone who relies on Cypress for testing. When I first explored this version, I immediately noticed how much effort went into improving the overall developer experience. The framework is not just faster or more stable, it feels smarter, more intuitive, and better suited for modern testing workflows.
One of the first things I appreciated was the redesigned user interface. It makes navigating tests and reviewing results much smoother, especially when working on larger projects. Cypress 10 also brings component testing out of the box, which is a game-changer for testing individual UI components without spinning up a full application.
In this article, I will walk through all the major features, explain how to upgrade smoothly, and highlight common migration issues so you can get the most out of Cypress 10.
Cypress 10 is the latest major version of the Cypress testing framework, introducing significant changes to improve the developer experience and testing workflows. It focuses on modernizing both end-to-end and component testing by providing a redesigned user interface, a cleaner file structure, and more flexible test configuration options.
This version also adds built-in support for component testing, enhanced browser selection in the test runner, and new command-line flags that give teams greater control over how tests are executed. With the removal of default sample tests, Cypress 10 encourages a more streamlined and professional project setup, making it easier to organize and maintain test suites across projects.
Cypress 10 brings major improvements that make testing more efficient, organized, and flexible. Both end-to-end and component testing workflows have been enhanced, and several usability updates simplify writing, running, and maintaining tests.
Here’s a detailed look at the key features.
The Test Runner has been completely redesigned, prioritizing usability, visibility, and efficiency. The new interface reduces cognitive load for testers and developers working on large-scale applications.
Detailed improvements:
Practical impact: Teams spend less time navigating tests and more time fixing issues, improving overall productivity and test reliability.
Component testing allows testing UI components in isolation, without bootstrapping the entire application. This feature is critical for modern front-end development practices like modular component design.
Key details and benefits:
Use case: A React button component can be tested independently for click events, style changes, and conditional rendering before it is used in forms or pages, catching UI bugs before integration.
Cypress 10 improves end-to-end testing by making it more stable, predictable, and easier to maintain. The updates focus on network control, test orchestration, and error transparency.
Enhancements include:
Impact: Teams can confidently validate full user workflows, knowing that both network behavior and UI interactions are accurately simulated and captured.
While Cypress 10 simplifies running tests locally, validating them across multiple browsers and real devices can be challenging. Tools like BrowserStack allow teams to execute Cypress tests on hundreds of browser and OS combinations, ensuring consistent behavior in real-world environments without maintaining complex infrastructure.
Cypress 10 introduces a modernized project layout to improve maintainability and clarity, especially for large-scale projects.
Key changes include:
Impact: The new file structure promotes organized, maintainable test projects. Teams can scale testing efforts without confusion, improve collaboration, and reduce errors caused by mislocated or mismanaged test files.
Cypress 10 introduces several new command-line flags that provide finer control over test execution, making it easier to run targeted tests, configure reporting, and integrate with CI/CD pipelines.
Key Changes:
Impact: These flags give teams flexibility to run tests in specific environments, reduce unnecessary execution time, and integrate Cypress seamlessly into automated pipelines. They also improve debugging speed by allowing targeted runs and detailed logs without modifying test code.
Cypress 10 removes the default sample tests that were previously included in new projects, providing a cleaner and more professional starting point.
Key Changes:
Impact: This change helps maintain organized, maintainable projects and eliminates the need to delete or modify example tests. Teams can focus entirely on writing meaningful tests for their application, improving both efficiency and project clarity.
Cypress 10 enhances cross-browser testing by allowing testers to choose which browser to run tests in directly from the Test Runner interface.
Key Changes:
Impact: Teams can easily validate their application across multiple browsers, ensuring consistent functionality and reducing cross-browser compatibility issues. This feature also saves time by eliminating manual configuration steps, making cross-browser testing more efficient and reliable.
Cypress 10’s browser selection makes switching environments easier, but for broader coverage across different OS versions and device types, BrowserStack provides cloud-based access to real browsers and devices, helping teams identify compatibility issues quickly and efficiently.
Cypress 10 introduces major structural and configuration changes, so upgrading requires attention to file organization, configuration, and test execution. Planning the upgrade ensures that existing tests continue to run smoothly while taking advantage of the new features.
How to Upgrade:
During migration, minor issues can occur due to configuration changes or file restructuring. Most can be resolved quickly by following a few key checks.
Common Issues and Fixes:
Cypress 10 brings major improvements to testing workflows, including a redesigned Test Runner, built-in component testing, and a streamlined file structure. These updates make writing, running, and maintaining both end-to-end and component tests faster, more organized, and more reliable for teams of any size.
For broader coverage and real-world testing, tools like BrowserStack allow Cypress tests to run across multiple browsers, operating systems, and devices. This ensures consistent application behavior, helps identify compatibility issues early, and reduces the need for maintaining complex local test environments.
Get visual proof, steps to reproduce and technical logs with one click
Continue reading
Try Bird on your next bug - you’ll love it
“Game changer”
Julie, Head of QA
Try Bird later, from your desktop