Make your Cypress tests faster with .clock()
Explains how to use Cypress's .clock() and .tick() commands to control time in tests, making them faster by skipping delays.
Filip Hric shares expert insights on test automation, Playwright, WebdriverIO, and secure development practices. Explore practical tutorials, tips, and AI-driven approaches to improve testing efficiency and reliability.
65 articles from this blog
Explains how to use Cypress's .clock() and .tick() commands to control time in tests, making them faster by skipping delays.
A tutorial on integrating TypeScript with Cypress for improved type safety and error detection in test automation.
Explains the purpose and usage of before(), beforeEach(), after(), and afterEach() hooks in Cypress test automation.
Learn various strategies to conditionally skip or filter tests in Cypress using .skip/.only, config files, and test configuration.
A tutorial on using Cypress to test if an element exists, is visible, and common pitfalls with negative assertions.
A technical guide on how to test and handle multiple page redirects within the Cypress end-to-end testing framework.
A guide to setting up and understanding code coverage in Cypress, including web app basics and practical examples.
Explains how to simulate hover interactions in Cypress tests using .invoke() and other workarounds, as there's no native .hover() command.
Guide to migrating from Cypress's deprecated .route() command to the new .intercept() command, covering syntax and benefits.
A guide to handling asynchronous API response data in Cypress tests, explaining common pitfalls and demonstrating patterns using .then() and environment variables.
A tutorial on creating a custom configuration plugin in Cypress to manage environment variables and settings for different deployment stages.
A guide to selectively running Cypress tests using the Module API and command-line arguments for better test management.
A tutorial explaining how to use JavaScript destructuring, specifically within Cypress test code, to simplify working with objects and function parameters.
Explains why Cypress clears cookies between tests and demonstrates how to preserve authentication state using beforeEach hooks.
A guide on testing websocket communication in a Trello-like app using Cypress, focusing on simulating real-time updates.
A guide to handling and testing links that open in new tabs within the Cypress testing framework, including workarounds and best practices.
A guide to selecting HTML elements using Cypress for test automation, covering basic selectors and child element queries.
Exploring Cypress's experimental network stubbing feature (.route2/.intercept) for intercepting XHR and fetch requests in tests.
Explores advanced, undocumented features of the Cypress.io testing framework, including routing tricks, DOM aliasing, and custom logging.
A developer shares their top VS Code extensions for improving productivity when writing and managing Cypress test suites.