| 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 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. |
| Click on “Sign in" | Logged with John DOE account |
| Click on “John DOE" > Addresses | Your addresses page displayed |
| Update “Mon adresse” | * Address successfully updated. |
| Go back to home page > Click on a product > Add to cart > Proceed to checkout> Add promo Code | We have this result : 2 items €57.72 Discount(s) -€7.00 Shipping Free Total (tax incl.) €57.72 test : free shipping |
| Go back to BO > Catalog > Discount > Click to edit button discount > Change country | Sucessfull message: Successful update |
| Click on “view my store”> Go to cart > refresh page | We have this result : 2 items €57.72 Shipping : €7.00 Total (tax incl.) €64.72 |
| Add code promo | You cannot use this voucher in your country of delivery |
| Go back to BO > Catalog > Discount > Click to edit button discount > Change minimum amount and discount value | Sucessfull message: Successful update |
| 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 |