mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Behat test for language switching
This commit is contained in:
parent
bead05acba
commit
7f0e589bf5
@ -3,10 +3,19 @@ Feature: My Profile
|
|||||||
I want to be able to change personal settings
|
I want to be able to change personal settings
|
||||||
In order to streamline my CMS experience
|
In order to streamline my CMS experience
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given I am logged in with "ADMIN" permissions
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
Scenario: I can see date formatting help
|
Scenario: I can see date formatting help
|
||||||
Given I am logged in with "ADMIN" permissions
|
|
||||||
# Only tests this specific field and admin UI because its got built-in tooltips
|
# Only tests this specific field and admin UI because its got built-in tooltips
|
||||||
When I go to "/admin/myprofile"
|
Given I go to "/admin/myprofile"
|
||||||
And I follow "Show formatting help"
|
And I follow "Show formatting help"
|
||||||
Then I should see "Four-digit year"
|
Then I should see "Four-digit year"
|
||||||
|
|
||||||
|
Scenario: I can change the interface language
|
||||||
|
Given I go to "/admin/myprofile"
|
||||||
|
Then I should see "My Profile"
|
||||||
|
When I fill in "German (Germany)" for the "Interface Language" dropdown
|
||||||
|
And I press the "Save" button
|
||||||
|
Then I should see "Mein Profil"
|
Loading…
Reference in New Issue
Block a user