Mô tả

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.


Bạn sẽ học được gì

Yêu cầu

Nội dung khoá học

20 sections

Introduction

1 lectures
Course Introduction
04:16

Application Under Test (AUT)

2 lectures
Introduction to Application Under Test
06:37
Source Code of AUT
00:00

Getting Started with Cypress

6 lectures
Introduction
00:47
Installing Cypress and setting stage ready
03:53
Working with Cypress App
05:22
Using Cypress App to create test specs via Scaffolding
03:53
Running Cypress tests from Commandline Interface (npx cypress run)
07:07
Managing Cypress from CLI
02:22

Understanding Basics of Cypress - Foundation

18 lectures
Introduction
04:31
Record and Playback with Cypress Studio
05:05
Cypress Test Structure - Describe/it/it.only/it.skip/hooks
04:58
Understanding the basics of Cypress Commands
03:01
Working with Cypress Query commands
07:50
Working with Cypress Query and Action commands
07:06
Working with Cypress Assertion commands
05:48
Working with Invoke(), Url() and Filter() other cypress commands
04:45
Understanding Cypress Command chaining
02:28
Retry-ability in Cypress and how it works in Cypress commands
05:26
Understanding Cypress Variables
06:22
Working with Alias and how awesome they are
04:49
Cypress Wrap - A feature which makes our cypress code more intelligent
06:05
Debugging Cypress code
05:04
[Coding Exercise] - Challenge Question
01:08
[Coding Exercise] - Challenge Solution
03:21
Summary
01:04
Source code
00:00

Understanding Cypress Cloud, Test Runner and Test Retry mechanism

5 lectures
Introduction and Configuration of Cypress Cloud
04:04
Executing local test and viewing test run details in Cypress Cloud
04:54
Cypress Test Retry feature to rerun failure tests - Attempts !
05:47
Viewing Failure Test Run and Attempts in Cypress Cloud
03:44
Summary
01:42

Understanding Cypress Configurations, Plugins and Environment Variables

10 lectures
Introduction
02:19
Making Application URL more configurable using baseURL in config
04:24
Using baseUrl in Cypress Command-line for CI/CD operation
02:31
Cypress configuration for different environments (Dev/Test/Prod)
06:04
[Customising Cypress Events] - Capture video only for Failed Tests
03:31
[Customising Cypress Events] - Open Browsers DevTool with Cypress App
02:08
[Coding Exercise] - Challenge Question
01:08
[Coding Exercise] - Challenge Solution
02:10
Summary
00:57
Source code
00:00

Most Common Automation Testing Scenarios while automating UI Apps

6 lectures
Data-Driven Testing with Cypress Fixtures
06:11
Working with FileUpload
04:43
Handling Popup and Alerts in Cypress
04:43
Capture Screenshots and videos
04:43
Speedup tests with Sessions - No more multiple Sign-in for every single test
06:57
Source code
00:00

API Testing with Cypress

4 lectures
Introduction
01:05
Perform GET operation
05:54
Perform POST operation
03:45
Perform DELETE Operation
03:52

Network Stubbing and Intercepting

6 lectures
Introduction
00:43
Perform simple Network request interception
08:57
Perform Network interception with wildcard
05:08
Perform Network Stubbing for API network throttling
02:42
Source code
00:00
Network Stubbing to intercept a request with hijacked data
04:44

Cypress Reports - With videos and Screenshots along with Screenshots on Retries

3 lectures
Introduction
01:36
Configuring Mochawsome report - Generate report with Screenshot and videos
07:35
More customisation of Mochawesome reports
02:05

Cypress Docker Integration and executing Dockerized Application Under Test

7 lectures
Introduction
04:13
Running AUT as Docker containerised Microservices
06:13
Creating Test Cypress Docker file
05:03
Building Cypress Test Docker Image and running it as container
08:35
Running Test from within Custom Cypress Test Container
04:48
Volume Mapping Cypress container to get Mochawesome Test Report in local machine
03:52
Summary
01:15

CI/CD with GitHub Actions, GitHub Integration with Cypress Cloud, Parallel Tests

12 lectures
Introduction
04:43
How to achieve CI/CD and Cypress cloud Integration
02:58
Check-In App Code and Cypress Test code in same GitHub Repo
03:25
Create GitHub Action workflow to run Dockerized .NET Application
04:16
Create GitHub Actions workflow to run Cypress tests
02:50
Running Cypress Tests in GitHub Actions workflow
04:28
Uploading Cypress Test Report Artifacts for every build and continue on failure
05:14
GitHub Integration with Cypress Cloud for detailed Cypress Checks
06:27
GitHub Cypress Checks for every run with GitHub Cypress Cloud Integration
03:44
Running Cypress Tests in Parallel with GitHub Actions and Cypress Cloud
06:01
GitHub Actions Workflow file
00:27
GitHub Action with Changes source code
00:00

Cypress Test Replay

1 lectures
Understanding and working with Cypress Test Replay
09:49

Behavioural Driven Development (BDD) Testing with Cucumber

3 lectures
Working with Cucumber with Cypress
08:25
Working with Cucumber for Parameter data in Step definition
06:21
Working with Cucumber DataTables for working with multiple data
07:29

Page Object Models with Cypress

4 lectures
Page Object Models with Cypress
07:05
Page Object Models with Cypress (Contd)
03:27
Cypress Xpath plugin
05:23
Complete source Code
00:00

Cypress Tidbits

3 lectures
Visual testing with Percy + Cypress
16:35
Source code Percy + Cypress
00:00
Working with iFrames and understanding Same-Origin policy
13:00

Continuous Integration with Jenkins

5 lectures
Introduction to CI with Jenkins for Cypress
05:22
Installing Jenkins in local machine
04:19
Creating Jenkins Pipeline project for Cypress
07:26
Creating Jenkins Pipeline stages for Cypress
07:20
Running Jenkins Pipeline stages with Cypress dashboard
04:43

Network Stubbing

2 lectures
Understanding Real World Application of Cypress
06:08
Intercept POST Request and inject Request Payload
10:56

Component Testing

7 lectures
Introduction to Component Testing with Cypress
09:43
Installing and configuring Component testing ground of Cypress
06:16
Adding Cypress configuration and plugins
03:41
Adding Simple Cypress Component Test and running via Component Test Runner
03:48
Writing Component test Side by Side while app components are developed
06:04
More component tests and Summary
04:15
Complete source code
00:02

Cypress Origin for Multi-Domain Automation - oAuth Authentication

4 lectures
Introduction
03:40
Multi-Domain GitHub Authentication workflow for login operation
07:38
Multi-Domain authentication with custom command and session with increased speed
07:56
Source code
00:00

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.