Sylius/features/shipping/managing_shipping_methods/toggling_shipping_method.feature
2016-04-29 14:33:27 +02:00

30 lines
1.2 KiB
Gherkin

@managing_shipping_methods
Feature: Toggling a shipping method
In order to change shipping methods which are available to my customers
As an Administrator
I want to be able to switch state of shipping method between enable and disable
Background:
Given the store is available in "English (United States)"
And the store has a base currency "Euro"
And there is a zone "EU" containing all members of the European Union
And the store allows shipping with "UPS Carrier" identified by "UPS_CARRIER"
And I am logged in as an administrator
@ui
Scenario: Disabling the shipping method
Given the shipping method "UPS Carrier" is enabled
And I want to modify this shipping method
When I disable it
And I save my changes
Then I should be notified that it has been successfully edited
And this shipping method should be disabled
@ui
Scenario: Enabling the shipping method
Given the shipping method "UPS Carrier" is disabled
And I want to modify this shipping method
When I enable it
And I save my changes
Then I should be notified that it has been successfully edited
And this shipping method should be enabled