
Meet Maurice de Beijer, an independent software developer and trainer based in the Netherlands. He shares his background, MVP status, and his React Newsletter, inviting you to subscribe.
Learn to fix a broken Cypress installation by inspecting the cache, pruning old versions, and reinstalling the local Cypress with npx and npm run open.
Master Cypress' most important commands, such as cy.visit, cy.get, and should, and learn how retries, timeouts, and chainable commands boost test reliability.
Configure Cypress with cypress.json, set baseUrl, timeouts, and retries, use Cypress.config and --config to tailor tests, and enable intellisense with $schema.
Master Cypress in 15 minutes a day demonstrates selecting values from dropdowns and lists with cy.select on a settings page, including visible and underlying values, and multi select support.
Explore Cypress network testing by using cy.request() and cy.intercept() to inspect and wait for ajax requests, inspect request and response headers, and fake responses for faster, controlled tests.
Explore how Cypress.minimatch() uses the minimatch package to test route matching for cy.intercept, with matchBase: true and glob patterns like * and **, speeding up test iterations.
Intercept ajax requests with cy.intercept, fake responses using a static json fixture or a custom body, and run faster, network-free tests while balancing real end-to-end checks.
Explore how to extend Cypress with custom commands and tasks, enabling browser-side commands like cy.doMagic and Node.js tasks, and learn how to configure and queue them from the browser.
Learn to add custom logging for Cypress commands with Cypress.log(), control what appears with log: false, and distinguish parent from child commands for clearer test logs.
Learn how to add custom tasks in Cypress to run in the Node environment, enabling file access and database setup via cy.task, with practical read and default handling.
Explore why the Cypress Testing Library advocates end-to-end tests that interact with the UI using labels and accessibility attributes instead of IDs or classes.
Learn to use the Cypress Testing Library's findByRole to write robust, accessibility-focused tests, prioritizing getByRole and findByRole with accessible names in a book search app.
Use accessibility roles and semantic elements in Cypress tests to improve test reliability and app accessibility, turning divs into articles, adding aria labels, and locating cards by accessible names.
Configure ESLint for Cypress by installing an npm package and extending the plugin cypress/recommended. This setup recognizes Cypress globals like cy and reduces false errors in ESLint.
Override the default Cypress configuration from cypress.json using --config to set different baseUrl environments. Run tests against localhost, Azure, or production, with a package.json script or npx for quick execution.
Are you tired of receiving emails from frustrated users about your web application being broken? Cypress, the JavaScript End-to-End Testing Framework, is here to help you prevent those issues and ensure your web application runs smoothly. Cypress is a powerful tool that makes it easy to create automated tests for your web application, and this course is designed to help you master it.
In this course, you'll learn everything you need to know to get started with Cypress and create your first useful tests. We'll start with the basics of Cypress, but we won't stop there. You'll also learn how to make tests for data-driven applications more reliable and even faster, and how to expand Cypress with extra functionality. We'll do that both by adding additional plugins as well as writing our own extensions. You'll learn how to test applications using third-party authentication services and how to include all that as part of your continuous integration build, helping you prevent errors in code from ever deploying to production.
My name is Maurice de Beijer, and I'm excited to teach you all about using Cypress. I've been using Cypress successfully in many of my projects, and I can't wait to share my knowledge and experience with you. Whether you've never written automated end-to-end tests before or you're already familiar with Selenium, this course is for you. I'll start from the beginning, and show you how to get up and running with Cypress in no time. Even if you're not sure if automated end-to-end testing is for you, I'll show you how to get quick benefits for a minimal amount of work.
By the end of this course, you'll have a solid understanding of Cypress and how to use it to create effective automated tests for your web application. You'll be able to prevent errors in code from ever deploying to production and ensure your web application runs smoothly. Join this course and take your testing game to the next level.