Sylius/features/channel/theming/displaying_themed_channel_website.feature
2021-07-22 17:15:39 +02:00

22 lines
861 B
Gherkin

@theming
Feature: Displaying themed channel website
In order to easily distinguish stores
As an Visitor
I want to see a different user interface on each one
Background:
Given the store operates on a single channel in "United States"
And the store has "maverick/meerkat" theme
And this theme changes homepage template contents to "Onions and bananas"
@ui @no-api
Scenario: Displaying default shop homepage
Given channel "United States" does not use any theme
When I visit this channel's homepage
Then I should not see a homepage from "maverick/meerkat" theme
@ui @no-api
Scenario: Displaying themed shop homepage
Given channel "United States" uses "maverick/meerkat" theme
When I visit this channel's homepage
Then I should see a homepage from that theme