Sylius/features/locale/managing_locales/locale_validation.feature
2022-03-11 09:20:29 +01:00

16 lines
549 B
Gherkin

@managing_locales
Feature: Locale validation
In order to avoid making mistakes when managing locales
As an Administrator
I want to be prevented from adding a locale without a code
Background:
Given the store has locale "Norwegian (Norway)"
And I am logged in as an administrator
@api
Scenario: Trying to add a locale without specifying a code
When I want to create a new locale
And I do not choose a code
And I try to add it
Then I should be notified that a code is required