Sylius/features/locale/switching_current_locale.feature
2018-10-03 13:30:32 +02:00

27 lines
1,001 B
Gherkin

@locales
Feature: Switching the current locale
In order to browse shop in my preferred locale
As a Customer
I want to be able to switch locales
Background:
Given the store operates on a channel named "Web"
And that channel allows to shop using "English (United States)" and "Polish (Poland)" locales
And it uses the "English (United States)" locale by default
@ui
Scenario: Showing the current locale
When I browse that channel
Then I should shop using the "English (United States)" locale
@ui
Scenario: Showing available locales
When I browse that channel
Then I should be able to shop using the "Polish (Poland)" locale
@ui
Scenario: Switching the current locale
When I browse that channel
And I switch to the "Polish (Poland)" locale
Then I should shop using the "polski (Polska)" locale
And I should be able to shop using the "angielski (Stany Zjednoczone)" locale