| Step Description | Expected result |
|---|---|
| Go to BO > Catalog > Discounts > Click on “Add new cart rule” | Cart rule page is displayed Information tab is displayed |
| In Information tab, enter a Name > Go to Conditions tab | Condition tab is displayed |
| In Restrictions, check Product selection > Click on button “+ Product selection” | A new section in Product selection is displayed |
| In Add a rule concerning > Click on Choose button > Select Products > Click on Add | A new line is displayed : “The product(s) are matching one of these:” |
| Click on Choose > Add products > Click outside the modal | See “The product(s) are matching one of these: 3” |
| Click on Tab “Actions” > Apply a Percent (%) discount > Check Selected products > Click Save and stay | Success Message is displayed: “Successful creation” |
| Click on View my store > Add “Brown bear cushion” product to the cart > Click on the Proceed to checkout | Discount is applied to selected product. See in cart : |
| Go back to Cart rule edition page > Apply a negative percentage discount > Click Save | error Message is displayed: “There are 2 errors. # Reduction percentage must be between 0% and 100% # The reduction_percent field is invalid.” |
| Apply a percentage discount with special characters and letters > Click Save | Error Message is displayed: “The reduction_percent field is invalid.” |
| Click on Tab “Actions” > Apply a Percent (%) discount > Check Selected products > Click Save | Success Message is displayed: “Successful update” |
| Go back to FO > Add another product to the cart > Proceed to checkout | Discount is applied to the cart See in cart : |
| Delete Brown bear cushion | Discount isn’t applied to the cart See in cart : |
| Go to Cart rules page > Delete Cart rule | Success message:“Successful deletion” |