Dictionary
Cypress
Cypress is a modern end-to-end testing framework for web applications that runs tests directly inside the browser rather than through external WebDriver protocols. This architecture gives Cypress direct access to the DOM, network requests, and application state, enabling features like time-travel debugging where developers can step through each command and see the application state at that point.
The framework provides automatic waiting for elements to appear, animations to complete, and network requests to resolve, which eliminates the flaky timing issues that plague Selenium-based test suites. Tests are written in JavaScript using a chainable API that reads naturally, and the test runner provides a visual interface showing the application alongside test execution in real time.
For web development, Cypress has become the preferred choice for frontend testing because it addresses the reliability problems of older tools. It can intercept and stub network requests, making it possible to test application behavior without a real backend. The component testing feature allows testing individual React, Vue, or Angular components in isolation. The main limitation is that Cypress only supports testing within a single browser tab and has limited cross-origin support.