Cypress is the fastest and easiest way to write end-to-end tests for your client-side applications. Learn the selector engine, test runners, assertion library, and write your own custom commands. Seed your database using Tasks in Node.js, and mock and stub out network requests, so you're not relying on external APIs that you don't control. Finally, integrate your Cypress tests with your CI/CD pipeline using GitHub Actions!
Overview
Syllabus
- Introduction
- Setup Cypress & Code
- Test Runner Overview
- Creating Your First Test
- Get, Contains & Should Exist Tests
- Should Test Method
- Testing Text Input Fields
- Basic Practice Exercise
- Basic Practice Solution
- Aliases
- Aliases Exercise
- Aliases Solution
- Range Sliders & Select Lists
- Input Testing Exercise
- Input Testing Solution
- Programmatically Generating Tests
- Generating Tests Exercise
- Generating Tests Solution
- Checking the Current Path
- Form Validation
- Form Validation Exercise
- Form Validation Solution
- Tasks & Seeding User Data
- Sign In Test Exercise
- Sign In Test Solution
- Commands
- Network Requests & Intercept
- Testing Search
- Fixtures
- Intercept Practice
- Testing Cookies & Sessions
- Mocking In Depth
- Cypress Studio
- Continuous Integration
- Wrapping Up
Taught by
Steve Kinney