Check item in cart
We've now provided E2E tests for user register, selection of an item on the home page, and adding an item to the cart.
The next thing we want to test is that the cart page accurately reflects the shopping cart state.
Let's create a new page object for the cart page by going to the terminal and typing:
$ touch tests/e2e/page-objects/cart.js
Click to load comments...