Wishlist module - Edit a product on a wishlist

Details

Steps

Step Description Expected result
Go to FO > Choose a product > Go to the product page details of the chosen product “Heart” icon next to the “Add to cart” button is empty
Click “heart” icon A “Sign in” modal is opened with:
* Title: “Sign in”
* Description: “You need to be logged in to save products in your wishlist."
* 2 buttons: “Cancel” & “Sign in”
Click on “Cancel” button or the cross on top right * The modal is removed
* Homepage or product page is displayed
Click “heart” icon A “Sign in” modal is opened with:
* Title: “Sign in”
* Description: “You need to be logged in to save products in your wishlist."
* 2 buttons: “Cancel” & “Sign in”
Click on “Sign in” button > Fill the form > Click on “Sign in” button * “Log in to your account” page is displayed
* You are logged in
* Homepage is displayed
Go to your customer account > Click on the “My wishlists” tab * Default wishlist is displayed.
* There is a (0) next to the title
Click on the default wishlist The wishlist opens and it’s empty
Browse through the catalog > Choose a product and go on its product page “Heart” icon next to the “Add to cart” button is empty
Change the quantity to 5 > Click on “heart” icon The “Add to wishlist” modal is displayed correctly with:
* Title: “Add to wishlist”
* Cross on top right to cancel
* A default wishlist: “My wishlist”
* Link: “Create new list”
Click on the cross on top right * The modal is removed
* Product page is displayed
Click on the heart again The “Add to wishlist” modal is displayed correctly with:
* Title: “Add to wishlist”
* Cross on top right to cancel
* A default wishlist: “My wishlist”
* Link: “Create new list”
Select the default wishlist * A successful message “Product added” is displayed
* The modal is removed and the heart is now filled
Click on your username in the header of the shop > Go to “My wishlists tab in your customer account section > Click and open the default wishlist with 1 product on it The item is saved with its quantity as 5
Click on the “pencil” icon Product page is displayed with:
* “Heart” icon is filled
* 1 in the quantity field
Change the quantity to 5 “Heart” icon is filled
Change the quantity to 3 “Heart” icon is not filled
Click on the heart > Select the default wishlist * A successful message “Product added” is displayed
* “Heart” icon is filled
Click on your username in the header of the shop > Go to “My wishlists tab in your customer account section > Click and open the default wishlist with 1 product on it The product is now saved with a quantity of 8
Click on the “pencil” icon Product page is displayed with:
* “Heart” icon is filled
* 1 in the quantity field
Browse through the catalog > Open a product page with combinations product (HUMMINGBIRD PRINTED T-SHIRT) > Select a specific combination (NOT the default one) > Click on “heart” icon The “Add to wishlist” modal is displayed correctly with:
* Title: “Add to wishlist”
* Cross on top right to cancel
* A default wishlist: “My wishlist”
* Link: “Create new list”
Select the default wishlist * A successful message “Product added” is displayed
* The modal is removed and the heart is now filled
Click on your username in the header of the shop > Go to “My wishlists tab in your customer account section > Click and open the default wishlist The item is saved with:
* Its quantity as 1
* Your combinations chosen
Click on the “pencil” icon Product page is displayed with:
* “Heart” icon is not filled
* Default parameters of combinations of the product are displayed
Update product page with your combination chosen “Heart” icon is filled
Change the combination “Heart” icon is empty
Select another combination > Click on the “heart” icon The “Add to wishlist” modal is displayed correctly with:
* Title: “Add to wishlist”
* Cross on top right to cancel
* A default wishlist: “My wishlist”
* Link: “Create new list”
Select the default wishlist * A successful message “Product added” is displayed
* The modal is removed and the heart is now filled
Switch to the old combination The heart is filled (even after page reloaded)
Click on your username in the header of the shop > Go to “My wishlists tab in your customer account section > Click and open the default wishlist * You have 2 combinations of the product saved
* The item is saved with:
** Its quantity as 1
** Your combinations chosen