Automation Testing With Cypress
Automated testing is a vital part of modern application development. Of course, website development is no exception here – you must be able to run automated tests to efficiently detect bugs and regressions.
This course teaches you how to write and run end-to-end (E2E) tests with Cypress – one of the most popular web development E2E testing tools you can use these days!
From learning how to build fast and reliable automation tests for any web application using Cypress, and a complete understanding of Cypress components for generating test execution videos, screenshots and reporting, to understanding JavaScript basics in order to help you implement the best practices of coding for Cypress tests, everything will be covered in this course.
So, whether you’re someone with basic-level knowledge of JavaScript, or even if you know absolutely nothing about JavaScript-based automation tools, this course will get you to the point where you feel confident in your ability to apply for Test Automation Engineer jobs, or even build on your portfolio as an Automation Engineer.
What you’ll learn
-
Add end-to-end testing workflows to projects
-
Define and use core Cypress concepts & techniques
-
Design and run automated end-to-end tests with Cypress
-
Implement realistic website user workflows with Cypress
Course Content:
Module1: Introduction to JavaScript Basics
- Variables
- Data Types
Module 2: Functions and Control Flow
- Functions
- Conditional Statements
- Loops
Module 3: Working with Complex Data Structures
- Arrays and Objects
- Strings and String Methods
Module 4: Advanced JavaScript Concepts
- Scope
- Arrow Functions
Module 5: Asynchronous JavaScript
- Promises and Async/Await
- Error Handling (try/catch)
Module 6: Browser Interaction
- DOM Manipulation
- Event Handling
Module 7: Asynchronous Data Fetching
- AJAX and Fetch API
Module8: Introduction to Cypress:
- Installing & Using Cypress
- How Cypress Tests Are Organized & Stored
- Adjusting Our First Test
- Writing A More Realistic Test
Module9: Cypress Basic- Core Features and Syntax
-
Module Introduction
-
Project Setup
-
Creating Suites & Test
-
Visiting Pages inside of E2E Tests
-
Let the IDE (VS Code) Help You
-
Selecting Elements & Evaluating Test Results
-
Selecting By Text
-
Implicit and Explicit Assertion
-
get() vs find()
-
Why You Need To Simulate User Interaction
-
Simulating User Interaction
-
Proper Assertions Are Key!
-
Time To Practice!
-
Simulating Keyboard Typing & Writing Good Assertions
-
Checking For Partial Text
-
Selecting Dropdown Values
-
Cypress Tests Run In Isolation
-
Time For More Queries
Module 10: Diving Deeper: Element Selection , Assertion and more
-
Module Introduction
-
Project Setup
-
Selecting Elements – The Best Practice Way
-
Testing Page Navigation
-
More on Selecting Elements
-
Repetition and More Assertions
-
Chaining Commands
-
Working with Values & Aliases
-
Getting More Direct Element Access via then()
-
A Closer Look At then()
-
Simulating Special Key Presses
-
Another Example
-
Losing & Gaining Focus
-
Aliases In Action
-
Using Cypress Studio For Test Evaluation
-
Running Tests Without Cypress Studio & Working with Screenshots + Videos
-
Changing Subjects
-
Taking Screenshots
-
should() instead of then()
Module11: Configuration & Customization
-
Module Introduction
-
Project Setup
-
The Global Config File
-
Understanding Timeouts
-
Global vs Local Config
-
Setting the Test Browser
-
Configuring the baseURL
-
Sharing Logic with Test Hooks
-
Introducing Custom Commands & Queries
-
Creating a Custom Command
-
Creating a Custom Query
-
Understanding Tasks
Module12: Working with Stubs, Spies, Fixtures and Manipulating the clock
-
Module Introduction
-
Starting Project
-
Understanding the Problem
-
Understanding Stubs
-
Creating & Using a Stub
-
When Empty Stubs Are Not Enough
-
Adding a Fake Stub Implementation
-
Using Stubs Across Tests
-
Stubs with Return Values
-
Evaluating Stub Arguments
-
Using Fixtures
-
Understanding Spies
-
Creating & Using Spies
-
The Problem With Timers
-
Manipulating the Clock
Module13 Network (HTTP) Requests, Databases & Authentication
-
-
Module Introduction
-
Starting Project
-
Understanding the Problem
-
Understanding Stubs
-
Creating & Using a Stub
-
When Empty Stubs Are Not Enough
-
Adding a Fake Stub Implementation
-
Using Stubs Across Tests
-
Stubs with Return Values
-
Evaluating Stub Arguments
-
Using Fixtures
-
Understanding Spies
-
Creating & Using Spies
-
The Problem With Timers
-
Manipulating the Clock
-
Summary
-
International Student Fee: 350 USD
Job Interview Preparation (Soft Skills Questions & Answers)
- Tough Open-Ended Job Interview Questions
- What to Wear for Best Job Interview Attire
- Job Interview Question- What are You Passionate About?
- How to Prepare for a Job Promotion Interview
Stay connected even when you’re apart
👬🏻Join our WhatsApp Channel – Get discount offers
🧮 500+ Free Certification Exam Practice Question and Answers
Internships, Freelance and Full-Time Work opportunities
👫🏻 Join Internships and Referral Program (click for details)
👫🏻 Work as Freelancer or Full-Time Employee (click for details)
Flexible Class Options
- Week End Classes For Professionals SAT | SUN
- Corporate Group Trainings Available
- Online Classes – Live Virtual Class (L.V.C), Online Training