| Step Description | Expected result |
|---|---|
| BO > Catalog > Discounts | Discounts page should be displayed Discount list = 0 |
| Click to Create discount | Create cart discount displayed Select period: Starts on: Date of the creation (by default) Ends on: 1 month after Start on date (by default) |
| Fill form and save | Error notification*{color:#FF0000}: Date invalid (à confirmer){color}* |
| Fill form and save | Error notification*: {color:#FF0000}Date invalid (à confirmer){color}* |
| Fill form and save | Error notification*: {color:#FF0000}Date invalid (à confirmer){color}* |
| Fill form and save | Error notification*: {color:#FF0000}Date invalid (à confirmer){color}* |
| Fill form and save | Error notification*: {color:#FF0000}Date invalid (à confirmer){color}* |
| Fill form and save/Disabled discount | Discount page displayed Notification : Successful update The discount has been created Discount list = 1 |
| Check the discount page >the all tab >The presence of the discount | The discount will be displayed in the “All” tab |
| Check the discount page >the Active tab >The presence of the discount | Discount is displayed in “Active” tab |
| Check the discount page >the Scheduled tab >The presence of the discount | Discount isn’t displayed in “Scheduled” tab |
| Check the discount page >the Expired tab >The presence of the discount | Discount isn’t displayed in “Expired” tab |
| Click on View my store > Add product to the cart > Click on the Proceed to checkout | See in cart : |
| Enter discount code | Error Message:“This voucher is not valid yet” |
| Go back to Cart rule page > Click on the edit button> Click Save | The discount edit page is displayed |
| Fill form >Change expiration date > Save | Discount page displayed Notification : Successful update The discount has been created Discount list = 1 |
| Check the discount page >the All tab >The presence of the discount | Discount is displayed in “All” tab |
| Check the discount page >the Active tab >The presence of the discount | Discount is not displayed in “Active” tab |
| Check the discount page >the Scheduled tab >The presence of the discount | Discount isn’t displayed in “Scheduled” tab |
| Check the discount page >the Expired tab >The presence of the discount | Discount is displayed in “Expired” tab |
| Click on View my store > Go to cart | See in cart : 1 item €22.68 Shipping Free Total (tax incl.) €22.68 |
| Enter discount code | We have an error message: “This voucher has expired” |
| Go back to discount page > Click on delete button | Display of the confirmation modal |
| Confirm the deletion | Discount page displayed Notification : Successful deletion The discount has been deleted Discount list = 0 |