otwarchive-symphonyarchive/features/admins/admin_locales.feature

26 lines
924 B
Gherkin
Raw Permalink Normal View History

2026-03-11 22:22:11 +00:00
@admin
Feature: Admin tasks
Scenario: Add and edit a locale
Given the following language exists
| name | short |
| Dutch | nl |
And I am logged in as a "translation" admin
When I go to the locales page
Then I should see "English (US)"
When I follow "New Locale"
And I select "Dutch" from "Language"
And I fill in "locale_name" with "Dutch - Netherlands"
And I fill in "locale_iso" with "nl-nl"
And I check "Use this locale to send email"
And I press "Create Locale"
Then I should see "Dutch - Netherlands nl-nl"
When I follow "Edit"
And I select "English" from "Language"
And I fill in "locale_name" with "English (GB)"
And I check "Use this locale to send email"
And I check "Use this locale for the interface"
And I press "Update Locale"
Then I should see "Your locale was successfully updated."
And I should see "English (GB) en"