End-to-end Angular Testing with Cypress
This course will teach you how to use Cypress to test Angular applications. You will learn how to get started with Cypress, write end-to-end tests, and take advantage of different features to create a reliable and maintainable testing solution.
What you'll learn
Automated tests play a vital role in modern software development. In this course, End-to-end Angular Testing with Cypress, you'll learn how to use Cypress to test your Angular applications. First, you'll see how to set up a development environment and add Cypress to an existing Angular project using Angular CLI. Then, you'll learn how to locate elements on the web page, interact with them, and explore the core concepts of Cypress. Next, you'll be shown how to use App Actions, create Page Object Models, expose Angular components to Cypress, and access its state and methods within your Cypress tests. Finally, you'll dive into additional features of Cypress such as making and intercepting HTTP requests. By the end of this course, you'll be ready to use Cypress to boost your testing efforts and create reliable and maintainable tests for your Angular application.
Table of contents
- Module Introduction 1m
- Demo: Introducing the Sample Angular Application 4m
- Selecting DOM Elements 4m
- Demo: Creating a Test Suite 2m
- Demo: Implementing Our First Tests 5m
- Using Cypress' Interactive Test Runner 3m
- Interacting with DOM Elements 3m
- Demo: Interacting with DOM Elements 7m
- Writing Assertions 2m
- Module Summary 1m