diff --git a/features/promotions.feature b/features/promotions.feature index 9c3a67c..2b46e53 100644 --- a/features/promotions.feature +++ b/features/promotions.feature @@ -110,4 +110,19 @@ Scenario: Update a Promotion And I paste the "id" field When I press the "Search" button Then I should see the message "Success" - And I should see "NY24_3" in the results \ No newline at end of file + And I should see "NY24_3" in the results + +Scenario: Delete a Promotion + When I visit the "Home Page" + And I set the "id" to "10" + And I set the "name" to "NY Sale3" + And I set the "description" to "promotion for NY 2024" + And I set the "products_type" to "all_types" + And I set the "code" to "NY24" + And I set the Start Date to "2023-12-15" + And I set the End Date to "2024-01-16" + And I press the "Search" button + Then I should see the message "Success" + When I copy the "id" field + And I press the "Delete" button + Then I should see the message "Success"