Files
mediawiki-extensions-Univer…/tests/browser/features/uls_settings_panel.feature
Niklas Laxström 34146ea023 (bug 49738) Use correct name for wiki content language
Happens when anonymous user cannot change language, and the
language of the translation differs from the content language.

Change-Id: Ie4f15f1813eec992cfe060baf9cd7dcb5f8a0d95
2013-08-30 12:45:02 +03:00

66 lines
2.4 KiB
Gherkin

@commons.wikimedia.beta.wmflabs.org @en.wikipedia.beta.wmflabs.org
Feature: ULS settings panel
@login
Scenario Outline: Input settings display
Givan I am <user status>
And I am on a page without interlanguage links
When I open "Input" panel of language settings
Then I can enable input methods
And I can disable input methods
Examples:
| user status |
| logged out |
| logged in |
Scenario: How to use link appears in the Input settings panel
Given I am at random page
When I open "Input" panel of language settings
And I click the button with the ellipsis
And in the language filter I type ml
And I click on the link to select Malayalam
Then I should see the How to use link near the Malayalam transliteration item
Scenario: More languages (input language selection)
Given I am at random page
When I open "Input" panel of language settings
And I click the button with the ellipsis
Then I see Worldwide
And I see Language Search
And I can navigate back to Input Settings
@login
Scenario: More languages (interface language selection)
Given I am logged in
When I open "Language" panel of language settings
And I click the button with the ellipsis
Then I see Common Languages
And I see Worldwide
And I see Language Search
And I can navigate back to Language Settings
@login
Scenario: Temporary live preview for menu language
Given I am logged in
When I open "Language" panel of language settings
And I click the button with the ellipsis
And I use the panel to change my interface language to "German"
And I switch to "Input" panel of language settings
And I click X
And I open "Language" panel of language settings
Then the panel is in English
Scenario: The name of site content language is correct when translation language is different
This feature is a bit hard to test. In most cases content language matches
the language of translation. In addition this only applies to anonymous
users in wikis where language changing for anonymous users is disabled. So
to test this we create a somewhat artificial test case by setting the wiki
interface language to a non-default value.
Given I temporarily use "Finnish" as the interface language
When I open "Language" panel of language settings
Then I see "English (sama kuin sisällön)" as the name of the content language