Sylius/features/channel/managing_channels/toggling_channel.feature
2016-04-22 10:26:50 +02:00

28 lines
1 KiB
Gherkin

@managing_channels
Feature: Toggling a channel
In order to change channels which are available to my customers
As an Administrator
I want to be able to switch state of channel between enable and disable
Background:
Given the store operates on a channel named "Web Channel"
And the store operates on another channel named "Mobile Channel"
And I am logged in as an administrator
@ui
Scenario: Disabling the channel
Given the channel "Web Channel" is enabled
And I want to modify this channel
When I disable it
And I save my changes
Then I should be notified that it has been successfully edited
And this channel should be disabled
@ui
Scenario: Enabling the channel
Given the channel "Web Channel" is disabled
And I want to modify this channel
When I enable it
And I save my changes
Then I should be notified that it has been successfully edited
And this channel should be enabled