Ocelot-Social/cypress/integration/Internationalization.feature
2018-12-21 15:31:07 +01:00

25 lines
911 B
Gherkin

Feature: Internationalization
As a user who is not very fluent in English
I would like to see the user interface translated to my preferred language
In order to be able to understand the interface
Background:
Given I am on the "login" page
Scenario Outline: I select "<language>" in the language menu and see "<buttonLabel>"
When I select "<language>" in the language menu
Then the whole user interface appears in "<language>"
Then I see a button with the label "<buttonLabel>"
Examples: Login Button
| language | buttonLabel |
| English | Login |
| Deutsch | Einloggen |
| Français | Connexion |
| Nederlands | Inloggen |
Scenario: Keep preferred language after refresh
Given I previously switched the language to "Deutsch"
And I refresh the page
Then the whole user interface appears in "Deutsch"