Custom commands
So far our automated browser test will register a user and then click an item on the homepage. That bring us to here, to the item page.
The next step is to add the item to the cart, which is now simply a matter of clicking the "Add to cart" button. [click button]
When we do that, you'll notice that a badge appears over the cart icon to tell us that we now have an item in the cart.
Click to load comments...