Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Testing Vue Apps - Unit & E2E > Lesson 9

Registering a user

Now that we've gotten Nightwatch to find and item and go to the item's page, the next step for our current test is to add the item to the cart.

However, we can't add an item to the cart as a guest user. We'll first need to register a user and log in.

Simulation

To do this, we're going to need to tell Nightwatch to, firstly, navigate to the registration page, via this URL, then, we'll need it to fill these inputs with valid user data, and click the "Register" button.


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom