BO - CRUD Pack of products

Details

Steps

Step Description Expected result
Go to BO > Catalog > Products Products list page is displayed correctly
Click on “New product” button on the top right of the page > Choose “Pack of products” block in the modal * A modal “Add new product” is displayed
* A description by type is displayed. For Pack of products:  “A collection of products from your catalog.”
Click on “Add new product” button * New Product page on “Description” tab is displayed
* “Pack of products” type description is displayed below the product name field
* The Pack tab is well displayed
Fill the main informations on “Description” tab * The content is added
Go to “Details” tab > Fill the “Reference” field * The content is added
Go to the “Pack” tab * The tab “Pack” is well displayed
* The title “Pack of products” is well displayed
* The Search input “Search combination” is well displayed
Search a simple product * The autocomplete list is displayed with the searched product ( Name and reference)
* The search bar in the header keeps the word written
Click on the product The product is well-added:
* The image is well displayed
* the product’s title is well displayed
* the expression “Ref: demo_11” is well displayed
* The delete icon is well displayed
* The input quantity  = 1 is well displayed
Search for the same product “No results found” is displayed
Search for a product with combinations * The autocomplete list is displayed with the 8 combinations ( Name, combination, and reference)
* The search bar in the header keeps the word written
Select the third combination The product is well-added:
* The image is well displayed
* The title of the product “Hummingbird printed t-shirt: Size - M, Color - White” is well displayed
* the expression “Ref: demo_1” is well displayed
* The delete icon is well displayed
* The input quantity  = 1 is well displayed
Search for virtual product and click on it The product is well-added:
* The image is well displayed
* The title of the product “Mountain fox - Vector graphics” is well displayed
* the expression “Ref: demo_18” is well displayed
* The delete icon is well displayed
* The input quantity  = 1 is well displayed
Search for the customized product and click on it The product is well-added:
* The image is well displayed
* The title of the product “Customizable mug” is well displayed
* the expression “Ref: demo_14” is well displayed
* The delete icon is well displayed
* The input quantity  = 1 is well displayed
Search for the pack product “No results found” is displayed
Change the quantity input of any product with a negative quantity and click on save A red alert “This value should be greater than or equal to 1.” is displayed below the product
Change the quantity input of any product with a invalid quantity and click on save A red alert “This value should be of type numeric. This value should be greater than or equal to 1.” is displayed below the product
Change the quantity input of any product with a valid quantity and click on save A green alert “Successful update” is displayed
Search for the same product and click on it The product is well-added:
* The image is well displayed
* the product’s title is well displayed
* the expression “Ref: demo_12” is well displayed
* The delete icon is well displayed
* The input quantity  = 1 is well displayed
Click on the delete icon for the product “MUG THE ADVENTURE BEGINS” A modal is displayed
* Modal title = “Delete item”
* Modal text = “Are you sure you want to delete this item?"
* Two buttons = Cancel & Delete
Click on “Cancel” button The modal is closed & the product is not removed
Click on the delete icon for the product “MUG THE ADVENTURE BEGINS” again A modal is displayed
* Modal title = “Delete item”
* Modal text = “Are you sure you want to delete this item?"
* Two buttons = Cancel & Delete
Click on “Delete” button The modal is closed

The product “MUG THE ADVENTURE BEGINS” is removed
Edit quantity of the pack product * The content is added
Click on Save button * A green alert “Successful update” is displayed
* A new line is added below the Stocks:
** “Recent stock movements” is well displayed
** The employee’s firstname & lastname are well displayed
** The quantity = 100 is well displayed
Go to “Pricing” tab > Edit “Retail price” section * The content is added
Click on the “Offline” switch button at the top of the page (below the product name) & Click on the “Save button” at the bottom of the page * The switch button is set to “Online” and is green
* “Successful update” message is displayed
* The “Save” button is changed by “Save and publish” button
* Check the header of the product
** The cover image is well displayed
** Price tax excl. = €15.00
** Price tax incl. = €18.00 tax incl. (tax rule: 20%)
** 100 in stock
** Reference: 12345
Click on “Preview” button at the bottom of the page and check all data is correct on the preview * New tab is opened to show the product in FO.
* Product is displayed correctly.
* Data is correct on the preview in FO
Go to back to browser tab of the BO > Edit the product by changing every data on each tab above > Click on “Save and publish” button * A “Successful update” message is displayed
* Check the header of the product:
** Price tax excl. = €20.00
** Price tax incl. = €22.00 tax incl. (tax rule: 10%)
** 200 in stock
** Reference: 1234567
Click on “Preview” button at the bottom of the page and check all data is correct on the preview * New tab is opened to show the product in FO.
* Product is displayed correctly.
* Data is correct on the preview in FO
Go to back to browser tab of the BO > Click on “Delete” button at the bottom of the page A modal is displayed with two buttons:
* Cancel
* Delete
Click on “Delete” button * Products list page is displayed
* “Successful deletion” message is displayed
* The product is well removed