Files
mediawiki-extensions-Univer…/tests/browser/features/persistent_settings.feature
Amir E. Aharoni cad5ec8dca A test for saving both ime and font preferences
Change-Id: I091f8db781bf7ea0fd8967c568604402a999356d
2013-11-22 15:43:47 +05:30

34 lines
1.3 KiB
Gherkin

@commons.wikimedia.beta.wmflabs.org @login @reset-preferences-after
Feature: Persistent settings
This assumes wiki content language is English.
Background:
Given I am logged in
And I set "German" as the interface language
And I open the Universal Language Selector
And I open Display panel of language settings
And I open Fonts panel of language settings
And I select OpenDyslexic font for the interface language for the live preview
Scenario: Interface font sticks to another page
When I apply the changes
And I visit a random page
Then the selected interface font must be OpenDyslexic
Scenario: Discarding a live preview of a font keeps the previous font
When I close the panel to discard the changes
And I visit a random page
Then the selected interface font must be Systemschriftart
Scenario: Changing both a font and an input method is saved
When I open Input side 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
And I select the ml-inscript2 input method in the panel
And I apply the changes
And I visit a random page
Then the selected interface font must be OpenDyslexic
And the selected input method for Malayalam is ml-inscript2