Sylius/features/admin/promotion/managing_coupons/deleting_coupon.feature
2024-07-25 08:37:20 +02:00

16 lines
697 B
Gherkin

@managing_promotion_coupons
Feature: Deleting a coupon
In order to remove test, obsolete or incorrect coupons
As an Administrator
I want to be able to delete a coupon from the registry
Background:
Given the store operates on a single channel in "United States"
And the store has promotion "Christmas sale" with coupon "SANTA2016"
And I am logged in as an administrator
@api @ui
Scenario: Deleted coupon should disappear from the registry
When I delete "SANTA2016" coupon related to this promotion
Then I should be notified that it has been successfully deleted
And this coupon should no longer exist in the coupon registry