End-to-End JavaScript Testing with Cypress.io (2019)
1h 30mAdvanced2019-12-13
Authors

Shaun Wassell
Full-Stack Software Developer
Course details
Learn how to set up quick, easy, and automatic JavaScript testing using Cypress.io. Cypress is a cutting-edge testing framework that makes testing JavaScript applications more frictionless. This training course is a rapid introduction to Cypress.io, covering basic and intermediate techniques for writing end-to-end test cases. Learn how to write a simple test, and then use aliases to optimize selections and beforeEach hooks to reduce repetitive code. Instructor Shaun Wassell also shows how to trigger other actions within tests, configure automatic retries, and debug any errors. The course wraps with a look at other useful Cypress commands and features, including intelligent code completion.
Learning objectives
Advantages and limitations of Cypress.io
Writing your first test
Selecting and aliasing elements
Triggering actions
Debugging
Useful Cypress.io commands
Learning objectives
Advantages and limitations of Cypress.io
Writing your first test
Selecting and aliasing elements
Triggering actions
Debugging
Useful Cypress.io commands
Skills covered
CypressSoftware TestingJavaScriptOracleEssential TrainingProgramming LanguagesSoftware Development
Concepts
0. Introduction
- 01 - Test automation with JavaScript
- 02 - What you should know
- 03 - Software installation
1. Introduction to Cypress.io
- 04 - What is Cypress.io
- 05 - Advantages of Cypress.io
- 06 - Limitations of Cypress.io
2. The Basics
- 07 - Installing and opening Cypress
- 08 - Writing your first Cypress test
- 09 - Testing text input
- 10 - Selecting elements
- 11 - Aliasing elements
- 12 - Working with command results
- 13 - The beforeEach hook
- 14 - Setting a base URL
3. Intermediate Concepts
- 15 - Interacting with elements
- 16 - Triggering other actions
- 17 - Common assertions
- 18 - Automatic retrying
- 19 - Debugging in Cypress
- 20 - Environment variables
- 21 - Test doubles
4. Other Useful Commands
- 22 - The wrap command
- 23 - The and command
- 24 - The filter and not commands
- 25 - Typing special characters
- 26 - Activating code completion
Conclusion
- 27 - Summary
Related courses
- End-to-End JavaScript Testing with Cypress.io
- Angular: Building Large Applications
- Vue.js: Testing and Debugging
- Learning End-to-End Testing with Jest
- Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python
- Advanced Blazor WebAssembly
- React: Testing and Debugging
- Test-Driven Development in an AI World