Testing Vue.js Components
🚧 PLEASE NOTE: An updated version of this course is available! see the Rapid Testing with Vitest: Master Unit Testing & Mocking course. This course is outdated!

Traversing The DOM

In this lesson, we'll learn the handy techniques of traversing the DOM of a mounted vue.js component and how to interact with it through triggering native DOM events, like click and input events.

The techniques we learn in this testing lesson can bring you a long way in making sure that our vue.js component's works for your users.

You can use any valid CSS Selector to find the DOM element you need to locate.