Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Testing Vue.js Components

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Exercise 2: Interacting with a Form

In this exercise, we'll be testing a form from a user's perspective. We'll be using snapshots to implicitly test the underlying logic of a working form.

Watch the lesson, download the starting point and try to solve the following exercise:

  • Click the done button of the newly added task
  • Expect that the final snapshot is at it's desired state

As always, we recommend that you consult the videos in this testing course or the docs before you peak at the solution.

Good luck! :)