Testing an MEVN Application Chapter 9
The tests are failing because we do not have the element present with the .hello class in
our application. So, to make the tests pass, we first need to add an identifier to the
elements, which we will be doing as a part the e2e tests by following the below steps.
Here are the things that we want to capture with the e2e test:
- Open the browser using http://localhost:8081
- Check whether the element with the #inspire ID exists. We have defined that in
App.vue with the following code:
<template>
<v-app id="inspire">
<v-navigation-drawer
fixed
v-model="drawer"
app
>