Add to Cart and Favorites
Checking the correctness of the Add to Cart and Add to Favorites buttons.
Preconditions
- the user is logged into the system and the product page is open
Steps
- click on the Add to Cart button on the product page
- ensure that the product is successfully added to the cart
- click on the Add to Favorites button on the product page
- ensure that the product is successfully added to the favorites list
Expected Result
The Add to Cart and Add to Favorites buttons on the product page function correctly and add products to the appropriate lists.