
Tests on Autopilot: Running Cypress in GitHub Actions
Run Cypress in GitHub Actions: headless runs, retries, JUnit reports, saved screenshots and videos, and parallel jobs, step by step for beginners.
Programming

Run Cypress in GitHub Actions: headless runs, retries, JUnit reports, saved screenshots and videos, and parallel jobs, step by step for beginners.

Debug Cypress tests like a detective: read errors, time-travel the Command Log, use cy.pause() and .debug(), and capture screenshots and videos.

Test React components in a real browser with cy.mount(). A friendly guide to Cypress Component Testing, compared with E2E and React Testing Library.

Speed up Cypress tests with cy.session(). Log in once, test protected routes, and verify tokens and cookies with beginner-friendly examples.

Stop logging in before every single test. Learn how to cache your login with cy.session(), test protected routes, and check tokens and cookies in Cypress, step by step.

Why do Cypress tests break when the app works fine? Learn to write stable tests with data-cy selectors, retry-ability, and smarter waiting, and finally fix those flaky tests, step by step.

Learn how to mock API responses in Cypress with cy.intercept(). Fake a backend with fixtures, check what your app sends, and simulate errors, network failures, and slow responses, step by step.

Learn how to take full control of your Cypress tests with stubs, spies, and clocks. Fake alerts and confirm boxes, track function calls, and fast-forward timers, with step-by-step examples you can follow along.

Cypress is one of the most popular end-to-end (E2E) testing frameworks, known for its simplicity, power, and developer-friendly features. In this article, we'll explore Cypress's core features and syntax, helping you build a strong foundation for writing reliable E2E tests. This guide is written for beginners, with simple explanations and practical examples to make Cypress accessible to everyone.

Learn the basics of Cypress, the modern end-to-end testing tool, in this comprehensive beginner's guide. Discover how to install Cypress, organize tests, and start writing your first tests today!
This site uses cookies for basic analytics (page views, no ads). You can accept or decline.