Vue 3 End-to-end Testing with Cypress
This course will teach you how to use Cypress to test Vue applications. You will learn how to get started with Cypress, write end-to-end and component tests, and take advantage of features to create a reliable and maintainable testing solution.
What you'll learn
Learn how to take advantage of Cypress to boost your testing efforts and increase confidence in your application's quality. In this course, Vue 3 End-to-end Testing with Cypress, you'll learn how to use Cypress to test your Vue applications. First, you'll learn what Cypress is and write your first test, where you'll interact with web elements and write assertions. Then, you'll explore the core concepts of Cypress and use different features that will help you automate complex testing scenarios. Next, you'll see how to expose an instance of the Vue application to Cypress, access its state and methods in your tests, and test Vue components. Finally, you'll create a pipeline on a Continuous Integration Server to run Cypress tests. By the end of this course, you'll be ready to get started using Cypress in your Vue project.
Table of contents
- Introduction 1m
- Introducing Vue Demo Application 5m
- Running Demo Application Locally 1m
- Selecting DOM Elements 4m
- Planning the First Test 3m
- Implementing the First Test 6m
- Using Interactive Test Runner 3m
- Exploring Cypress Folder Structure 3m
- Interacting with DOM Elements 3m
- Exploring Cypress Assertions 2m
- Interacting with DOM Elements and Using Assertions 8m
- Module Summary 1m