mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
16 lines
697 B
Gherkin
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
|