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 |
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” icon 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 well saved |
Click on the “trash” icon | The “Remove product from wishlist” modal is displayed correctly with: * Title: “Remove product from wishlist” * Cross on top right to cancel * Description: The product will be removed from “My wishlist”. * 2 buttons: “Cancel” & “Remove” |
Click on “Cancel” button or the cross on top right | * The modal is removed * “My wishlist” page is displayed |
Click on the “trash” icon | The “Remove product from wishlist” modal is displayed correctly with: * Title: “Remove product from wishlist” * Cross on top right to cancel * Description: The product will be removed from “My wishlist”. * 2 buttons: “Cancel” & “Remove” |
Click on “Remove” button | * A successful message “Product successfully removed” is displayed * The modal is removed * “My wishlist” page is displayed with the chosen product removed from the list |
Browse through the catalog > Choose a product and go on its product page | “Heart” icon next to the “Add to cart” button is empty |
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 |
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 well saved |
Click on the product’s image | * Product page of the product is well displayed * “Heart” icon is filled |
Click on the “heart” icon again | * A successful message “Product successfully removed” is displayed * “Heart” icon is not filled |