We may earn an affiliate commission when you visit our partners.
Course image
Udemy logo

End to End automation testing with Cypress

Karthik KK

In this course End to End automation testing with Cypress we will discuss a complete working/understanding and hands-on testing of applications using Cypress

Course UPDATED in Sep 2023 with the latest version v13

Read more

In this course End to End automation testing with Cypress we will discuss a complete working/understanding and hands-on testing of applications using Cypress

Course UPDATED in Sep 2023 with the latest version v13

This comprehensive course delves into various topics, providing in-depth knowledge and practical skills in Cypress, a powerful testing framework. Throughout the course, you will cover the following:

  • UI automation testing for web-based applications using Chrome/Electron/Chromium and Firefox.

  • A thorough understanding of the Cypress test runner, enabling efficient and effective test execution.

  • API testing with Cypress, allowing you to validate and verify the functionality of web APIs.

  • XHR testing to examine the XMLHTTPResponse of any website.

  • Behavioral-driven development testing with Cucumber.js integration, leveraging Cypress plugins.

  • Complete comprehension of various Cypress commands for seamless test creation and execution.

  • Parallel test execution with Cypress Cloud, enabling efficient testing on multiple fronts.

  • Docker container utilization for Cypress test execution, facilitating a streamlined and reproducible testing environment.

  • Page Object Model support in Cypress, promoting modular and maintainable test code.

  • Cypress integration with XPath plugins, expanding the capabilities of element selection and manipulation.

  • Debugging with Cypress via Chrome Dev Tools, aiding in troubleshooting and issue resolution.

  • Visual testing with Percy, allowing for visual regression testing to ensure consistent UI appearance.

  • Mochawesome reporting with Cypress, generating detailed and insightful test reports.

  • CI/CD integration of Cypress with Jenkins, enabling seamless test automation in continuous integration workflows.

  • Cross-browser testing support of Cypress, ensuring compatibility and consistent behavior across different browsers.

  • CI/CD integration of Cypress with GitHub Actions, facilitating automated testing in GitHub workflows.

  • Cypress Studio, is a visual testing tool for creating tests without writing code.

  • Network stubbing and mocking with Cypress, enabling realistic and controlled testing of network interactions.

  • Component testing with Cypress to isolate and test UI components.

By the end of this course, you will possess a comprehensive understanding of Cypress, starting from the fundamentals and progressing to advanced topics, equipping you with the skills necessary to excel in Cypress test automation.

Enroll now

What's inside

Learning objectives

  • Learn complete understanding of cypress
  • Learn the ui testing with cypress
  • Learn xhr testing with cypress
  • Learn api testing with cypress
  • Learn ci/cd with github actions
  • Learn ci/cd integration with jenkins and github actions
  • Learn cross-browser testing with cypress
  • Learn running test in cypress docker containers

Syllabus

Introduction
Course Introduction
Application Under Test (AUT)
Introduction to Application Under Test
Read more
Source Code of AUT
Getting Started with Cypress
Installing Cypress and setting stage ready
Working with Cypress App
Using Cypress App to create test specs via Scaffolding
Running Cypress tests from Commandline Interface (npx cypress run)
Managing Cypress from CLI
Understanding Basics of Cypress - Foundation
Record and Playback with Cypress Studio
Cypress Test Structure - Describe/it/it.only/it.skip/hooks
Understanding the basics of Cypress Commands
Working with Cypress Query commands
Working with Cypress Query and Action commands
Working with Cypress Assertion commands
Working with Invoke(), Url() and Filter() other cypress commands
Understanding Cypress Command chaining
Retry-ability in Cypress and how it works in Cypress commands
Understanding Cypress Variables
Working with Alias and how awesome they are
Cypress Wrap - A feature which makes our cypress code more intelligent
Debugging Cypress code
[Coding Exercise] - Challenge Question
[Coding Exercise] - Challenge Solution
Summary
Source code
Understanding Cypress Cloud, Test Runner and Test Retry mechanism
Introduction and Configuration of Cypress Cloud
Executing local test and viewing test run details in Cypress Cloud
Cypress Test Retry feature to rerun failure tests - Attempts !
Viewing Failure Test Run and Attempts in Cypress Cloud
Understanding Cypress Configurations, Plugins and Environment Variables
Making Application URL more configurable using baseURL in config
Using baseUrl in Cypress Command-line for CI/CD operation
Cypress configuration for different environments (Dev/Test/Prod)
[Customising Cypress Events] - Capture video only for Failed Tests
[Customising Cypress Events] - Open Browsers DevTool with Cypress App
Most Common Automation Testing Scenarios while automating UI Apps
Data-Driven Testing with Cypress Fixtures
Working with FileUpload
Handling Popup and Alerts in Cypress
Capture Screenshots and videos
Speedup tests with Sessions - No more multiple Sign-in for every single test
In this section we will work with API Testing in Cypress
Perform GET operation
Perform POST operation
Perform DELETE Operation
Network Stubbing and Intercepting
Perform simple Network request interception
Perform Network interception with wildcard
Perform Network Stubbing for API network throttling
Network Stubbing to intercept a request with hijacked data
Cypress Reports - With videos and Screenshots along with Screenshots on Retries
Configuring Mochawsome report - Generate report with Screenshot and videos
More customisation of Mochawesome reports
Cypress Docker Integration and executing Dockerized Application Under Test
Running AUT as Docker containerised Microservices
Creating Test Cypress Docker file
Building Cypress Test Docker Image and running it as container
Running Test from within Custom Cypress Test Container
Volume Mapping Cypress container to get Mochawesome Test Report in local machine
CI/CD with GitHub Actions, GitHub Integration with Cypress Cloud, Parallel Tests
How to achieve CI/CD and Cypress cloud Integration
Check-In App Code and Cypress Test code in same GitHub Repo
Create GitHub Action workflow to run Dockerized .NET Application
Create GitHub Actions workflow to run Cypress tests
Running Cypress Tests in GitHub Actions workflow
Uploading Cypress Test Report Artifacts for every build and continue on failure
GitHub Integration with Cypress Cloud for detailed Cypress Checks
GitHub Cypress Checks for every run with GitHub Cypress Cloud Integration
Running Cypress Tests in Parallel with GitHub Actions and Cypress Cloud
GitHub Actions Workflow file
GitHub Action with Changes source code
Cypress Test Replay
Understanding and working with Cypress Test Replay
Behavioural Driven Development (BDD) Testing with Cucumber
Working with Cucumber with Cypress
Working with Cucumber for Parameter data in Step definition
Working with Cucumber DataTables for working with multiple data
Page Object Models with Cypress

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Meets the intermediate software tester's need to learn more about Cypress and improve their Cypress testing skills
Delves into advanced Cypress testing topics, such as parallel test execution, Docker container utilization, and visual testing
Covers a wide variety of Cypress testing scenarios, including UI testing, API testing, and behavioral-driven development testing
Provides hands-on practice with Cypress through exercises and coding challenges
Teaches Cypress testing best practices, such as using Page Object Model and debugging with Cypress Dev Tools

Save this course

Save End to End automation testing with Cypress to your list so you can find it easily later:
Save

Reviews summary

Comprehensive guide to cypress

learners say that this course thoroughly covers the essential concepts of end-to-end automation testing using Cypress. It provides plenty of examples and keeps up-to-date with the latest Cypress changes.
Course keeps up with Cypress updates.
"Good updates about Cypress changes & feature updates."
Course provides many examples.
"Great coverage of what you need & want to know."
"Plenty of examples without dragging along."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in End to End automation testing with Cypress with these activities:
Cypress Study Group
Collaborate with other learners to discuss Cypress concepts, share knowledge, and troubleshoot challenges.
Show steps
  • Find or create a study group with other Cypress learners.
  • Establish regular meeting times and topics for discussions.
  • Share testing experiences, insights, and best practices.
  • Collaborate on mock projects or test case scenarios.
Cypress Tutorial Explorations
Expand your Cypress knowledge by following comprehensive tutorials that guide you through advanced concepts and techniques.
Browse courses on Cypress
Show steps
  • Identify specific Cypress topics or features you want to explore.
  • Find and select reputable tutorials that cover those areas in depth.
  • Work through the tutorials, practicing the concepts and techniques as you go.
Cypress Testing Drills
Reinforce Cypress testing concepts by practicing hands-on exercises and drills.
Browse courses on Cypress
Show steps
  • Set up a Cypress testing environment.
  • Create a series of test cases covering various UI elements and scenarios.
  • Run the test cases and analyze the results.
One other activity
Expand to see all activities and additional details
Show all four activities
Cypress Automation Project
Apply your Cypress skills to a practical project, testing a real-world application's UI functionality.
Show steps
  • Identify an application or website suitable for testing.
  • Define the scope of the testing project.
  • Create a Cypress test suite for the application.
  • Execute the test suite and analyze the results.

Career center

Learners who complete End to End automation testing with Cypress will develop knowledge and skills that may be useful to these careers:
Software Tester
As a Software Tester, you will be responsible for verifying the quality of software applications. This course will help you build a foundation in Cypress, enabling you to write automated tests that ensure software is working as intended. You will learn how to test user interfaces, APIs, and more, making you a valuable asset to any software development team.
Web Developer
Web Developers create and maintain websites and web applications. This course will give you the skills you need to write automated tests for web applications using Cypress. You will learn how to test user interfaces, APIs, and more, ensuring that your applications are working as intended and providing a great user experience.
Test Automation Engineer
Test Automation Engineers are responsible for automating software testing processes. This course will give you the skills you need to write automated tests for software applications using Cypress. You will learn how to test user interfaces, APIs, and more, ensuring that your applications are working as intended and providing a great user experience.
Quality Assurance Analyst
Quality Assurance Analysts work to ensure that software products meet quality standards. This course will help you build a foundation in Cypress, a powerful testing framework that enables you to write automated tests for software applications. You will learn how to test user interfaces, APIs, and more, making you a valuable asset to any QA team.
DevOps Engineer
DevOps Engineers work to bridge the gap between development and operations teams. This course will help you build a foundation in Cypress, a powerful testing framework that enables you to write automated tests for software applications. You will learn how to test user interfaces, APIs, and more, making you a valuable asset to any DevOps team.
Software Engineer
Software Engineers design, develop, and maintain software applications. This course will help you build a foundation in Cypress, a powerful testing framework that enables you to write automated tests for software applications. You will learn how to test user interfaces, APIs, and more, making you a valuable asset to any software development team.
Product Manager
Product Managers are responsible for defining, developing, and launching software products. This course may be helpful for Product Managers who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your products are working as intended and providing a great user experience.
Technical Writer
Technical Writers create documentation for software products. This course may be helpful for Technical Writers who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your documentation is accurate and up-to-date.
UX Designer
UX Designers create user interfaces for software products. This course may be helpful for UX Designers who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, ensuring that your designs are working as intended and providing a great user experience.
Business Analyst
Business Analysts work with stakeholders to define and document business requirements. This course may be helpful for Business Analysts who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your software is meeting the needs of stakeholders.
Data Scientist
Data Scientists use data to solve problems and make decisions. This course may be helpful for Data Scientists who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your data is accurate and reliable.
Project Manager
Project Managers plan, execute, and close projects. This course may be helpful for Project Managers who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your projects are delivered on time, within budget, and to the required quality.
Security Analyst
Security Analysts identify and mitigate security risks. This course may be helpful for Security Analysts who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your software is secure from vulnerabilities and attacks.
Database Administrator
Database Administrators manage and maintain databases. This course may be helpful for Database Administrators who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your databases are reliable and performant.
Network Administrator
Network Administrators manage and maintain computer networks. This course may be helpful for Network Administrators who want to learn more about how to test software applications. You will learn how to write automated tests for user interfaces, APIs, and more, ensuring that your networks are reliable and performant.

Reading list

We've selected eight books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in End to End automation testing with Cypress.
Provides a comprehensive overview of software testing principles and practices, serving as a valuable resource for learners looking to deepen their understanding of the broader context of testing.
Provides a comprehensive overview of agile testing practices and techniques, complementing the course's focus on testing in agile development environments.
Provides a practical guide to test-driven development, complementing the course's coverage of testing as an integral part of the software development process.
Offers a collection of proven patterns for writing clean and maintainable test code, complementing the course's emphasis on best practices and code quality.
Delves into continuous delivery practices, offering insights into the principles and techniques that complement the course's coverage of CI/CD with GitHub Actions and Jenkins.
Best practices and principles in writing clean and maintainable code.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to End to End automation testing with Cypress.
Vue 3 End-to-end Testing with Cypress
Most relevant
Cypress -Modern Automation Testing from Scratch +...
Most relevant
End-to-end Vue Testing with Cypress 6
Most relevant
End-to-end Angular Testing with Cypress
Most relevant
Cypress End-to-End Testing - Getting Started
Most relevant
Cypress end to end testing and intercepting network call
Most relevant
Learn Cypress UI test automation with real-time scenarios
Most relevant
Cypress 4: End-to-end JavaScript Testing
Most relevant
Cypress API test automation for absolute beginners
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser