| Step Description | Expected result |
|---|---|
| BO > Catalog > Discounts | Discounts page should be displayed empty discount list |
| Click to Create discount | Select discount page displayed |
| Choose type and click to “Create discount” | Create cart discount displayed |
| Fill form and save | Discount page displayed Error Message: The field names is required at least in your default language. |
| Fill form and save | Discount page displayed Error Message: This value should not be blank. |
| Fill form and save | Discount page displayed Error Message: This value should be greater than 0. |
| Fill form and save | Discount page displayed Error Message: This value should be greater than 0. |
| Fill form and save | Discount page displayed Error Message: Please enter a valid money amount. |
| Fill form and save | Discount page displayed Successful Message: Successful update Discount list = 1 |
| Click on “view my store”> Add a product > enter discount code | Error message: The minimum amount to benefit from this promo code is €50.00. |
| Go back to home page > Click on a product > Add to cart > Proceed to checkout> Add promo Code | We have this result : 3 items€83.54 Discount(s) -€14.28 Shipping Free Total (tax incl.) €69.26 test -€14.28 |
| Go back to BO > Catalog > Discount > Click to edit button discount > Change free gift | Sucessfull message: Successful update |
| Click on “view my store”> Go to cart > refresh page | We have this: 3 items €80.06 Discount(s) -€10.80 Total (tax incl.) €69.26 test -€10.80 |
| Go back to BO > Catalog > Discount > Click to delete button discount | Display of the confirmation modal |
| Click to Delete | Successful deletion notification |
| Go to FO > Go to shopping cart | We have this : 2 items €69.26 Shipping Free Total (tax incl.) €69.26 |