Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Cypress: E2E Test Automation - Getting Started
Rating: 4.8 out of 5(34 ratings)
192 students

Cypress: E2E Test Automation - Getting Started

Learn Cypress from scratch with Best Practices on Test Automation, writing many realistic end-to-end (E2E) tests.
Last updated 4/2026
English

What you'll learn

  • Learn the most important commands, features and concepts of Cypress from scratch
  • Learn various ways for selecting web app elements
  • Gain proficiency in writing E2E tests in many different exercises where you will apply newly gained knowledge
  • Learn how to dynamically generate test data
  • Discover the Page Object, Component Object, and Composition patterns and their benefits for scalable, maintainable test automation architecture

Course content

6 sections77 lectures5h 14m total length
  • About the Course5:10

    Set up Cypress for end-to-end testing from scratch, write tests with describe/it and the a-a-a-a pattern, interact with a blogging app, and explore page object and composition patterns.

  • Welcome to the course!2:00
  • Q&A0:35
  • Info: To students coming from free course version0:24
  • What is Cypress & E2E tests6:00

Requirements

  • Basic JavaScript knowledge is required
  • Willingness to learn and solve tasks
  • No Cypress experience needed. You will learn everything you need to know
  • (Optional) - Basic Web Development (HTML, CSS) experience can be useful but is not necessary

Description

Are you looking for a course where:

  1. you will learn Cypress from scratch, even with no prior experience in test automation.

  2. you will be able to practice writing end-to-end (E2E) tests on real-life examples.

  3. you will save time learning only the most important concepts, without unnecessary repetitions and summaries.

I have good news for you. You do not need to look anymore.

I have created this course to answer those needs.


Your first test in Cypress

You will start your journey by discovering the fundamental building blocks of Cypress tests. From the very beginning, together we will write your first E2E test. Where I take it apart and explain each of the parts in detail, such as:

  • Test suite & Test structure

  • Visiting page

  • Selecting elements using browser dev tools

  • Performing actions on selected elements

  • Assertions

However, that's not all.

You will also learn how you can improve your tests to follow best practices.

You will learn how to create custom commands, which will make your tests more readable. How to dynamically generate test data for your tests and VS code extensions that will make your work more effective.


Master selecting elements

In test automation, 50% of success are correctly selected elements. Cypress provides a set of query commands, which helps us in that matter. In this course, I have prepared a separate section, where you will have the opportunity to familiarize yourself with each of them, and how you can combine them to unlock their full potential!


Detailed explanation of how Cypress works and its core concepts

To write tests in Cypress properly it's crucial to understand how it works. Otherwise, you can get a headache trying to figure out the cause of your problems. I have done my best to explain very deeply how those mechanisms are working. Not leaving you with many unknowns or questions.

You will learn about:

  • Rules of actionability

  • Retry-ability mechanism

  • Timeouts

  • Test retries

  • Aliases

  • Understand Cypress asynchronous nature and how to deal with that

  • How to iterate over DOM elements

  • many more...

So, be ready for a deep dive into the core mechanisms standing behind Cypress!


Elevate your test automation skills by applying design patterns

You will learn how to structure your tests for better readability, scalability, and maintenance. Using the most popular design pattern - Page Object Model.

However, we will not stop at the basics of Page Object. We will dive deeper into that topic. You will learn about two other patterns, Component Object & Composition pattern.

Which will let you unlock the full potential of the Page Object pattern and will prepare you to build a robust automation framework for applications with complex architecture.


Practice writing E2E tests

During this course, you will write many end-to-end (E2E) tests for the "Conduit" blogging application. Together we'll cover critical features of this application such as:

  • Login

  • Registering

  • Header navigation


By the end of this course, you will be able to start writing good tests in Cypress, together with applying best practices and design patterns and if necessary extend your knowledge on more sophisticated topics with ease.


Enroll now! and kickstart your journey towards becoming a proficient Cypress Test Automation Engineer!

You have nothing to lose here. You get a 30-day return guarantee, with no questions asked.

Who this course is for:

  • Manual Testers who want to quickly learn Cypress from scratch
  • Test Automation Engineers who switching from Selenium to Cypress
  • Web Developers who want to quickly learn Cypress from scratch