Open Marko-Shevchuk opened 1 year ago
Given: Guest user When: The user is on product pages/search And: The user clicks on "Add to wish list" button Then: The user flow directed to login page so as to logging in into the system with that existed account or register a new one.
Given: Authorizated user is on product/search page When: The user clicks on product pages/search And: The user clicks on "Add to wish list" button Then: The user flow directed to wish list page with provided message "[Product] has been added to your Wish List. Click [here](previous page URL) to continue shopping" at the top of the page
Given: Authorizated user is on any page When: The user clicks on dropdown next to the message Welcome, [UserName]! at the desktop version or Hamburger Menu -> Account at the mobile version And: The user clicks on "My Wish List([Number of saved items])" button Then: Redirect to Wishlist page
Given: Authorizated user is on Wish list page When: The user hover on item at the desktop version or see a trash icon at the mobile version And: The user clicks on Remove Item button depicted as trash can icon Then: Page reloading with the "[Item] Tee has been removed from your Wish List." message at the top of the page
Given: Authorizated user is on Wish list page that is fullfiled at least with one item When: The user clicks on Add All to Cart button Then: Message at the top in case number of product was availabe: [Quontity number] product(s) have been added to shopping cart: "[Product Name]". Unavailable: The requested qty is not available for "[Product Name]".
1.6 As a user, I want to be able to add items to my wishlist so that I can save them for later (to buy in the future).