Skip to main content
Toggle sidebar
Back to courses
5/30
·
Lab: Cypress Foundations in Practice
Testing with Cypress
0%
Previous lesson
Next lesson
AI Tutor
Toggle theme
My Courses
Testing with Cypress
0/30 lessons
0%
Module 1
Cypress Foundations
Cypress Architecture and How It Differs From Selenium and Installation and Project Setup
Writing Your First Test (Visit, Get, Click, Type) and Cypress Test Runner and Time-Travel Debugging
Assertions With Chai and Cypress Commands and Configuration and Environment Variables
Cypress Foundations Cheatsheet
Lab: Cypress Foundations in Practice
Quiz: Cypress Foundations
Module 2
Commands, Selectors, and Best Practices
Cy.Get() Selectors and Best Practices (Data-Testid) and Custom Commands for Reusable Actions
Handling Asynchronous Behavior in Cypress and Aliases and Cy.Wrap() Patterns
Fixtures and Test Data Management and Retry-Ability and Automatic Waiting
Commands, Selectors, and Best Practices Cheatsheet
Lab: Commands, Selectors, and Best Practices in Practice
Quiz: Commands, Selectors, and Best Practices
Module 3
Network Control and API Testing
Cy.Intercept() for Request Interception and Stubbing API Responses for Deterministic Tests
Waiting for Network Requests (Cy.Wait) and Testing Error States and Loading States
API Testing With Cy.Request() and Combining E2E and API Tests Effectively
Network Control and API Testing Cheatsheet
Lab: Network Control and API Testing in Practice
Quiz: Network Control and API Testing
Module 4
Component Testing and Visual Regression
Cypress Component Testing Setup (React, Vue, Angular) and Mounting and Testing Components in Isolation
Visual Regression Testing With Percy or Cypress-Image-Snapshot and Testing Responsive Layouts
Accessibility Testing in Cypress (Cypress-Axe) and Snapshot Testing Patterns
Component Testing and Visual Regression Cheatsheet
Lab: Component Testing and Visual Regression in Practice
Quiz: Component Testing and Visual Regression
Module 5
Cypress in CI/CD and at Scale
GitHub Actions Setup for Cypress and Cypress Cloud (Dashboard) for Analytics
Parallel Test Execution and Load Balancing and Test Recording (Video and Screenshots)
Flaky Test Detection and Management and Cypress vs Playwright: When to Use Which
Cypress in CI/CD and at Scale Cheatsheet
Lab: Cypress in CI/CD and at Scale in Practice
Quiz: Cypress in CI/CD and at Scale
Reading
7 min read
Lab: Cypress Foundations in Practice
Loading content...
On this page
Scenario
Lab Objectives
Steps to Complete the Lab
Step 1: Understanding Cypress Architecture vs. Selenium
Step 2: Installation and Project Setup
Step 3: Writing Your First Test
Step 4: Using the Test Runner and Time-Travel Debugging
Step 5: Assertions with Chai and Cypress Commands
Step 6: Configuration and Environment Variables
Bonus Challenge: Explore More Cypress Commands
Deliverables
Troubleshooting Table
Key Takeaways
Quick Self-Check
Sign in to track progress
Sign In