Files
mediawiki-extensions-Univer…/tests/browser/features/persistent_settings.feature
Amir E. Aharoni 0be71e418e Remove failing tests from Commons
These tests fail because no Wikimedia has webfonts
enabled by default.
This will be addressed more thoroughly by rewriting
the tests to support the new setting, and by enabling
the feature by default on a new testing wiki.

Change-Id: Id197e0b2535097cf5e583e51427ca6130839e1ff
2014-02-20 17:58:23 +04:00

36 lines
1.4 KiB
Gherkin

# First scenario seems to fail whenever OpenDyslexic is missing
@login @needs-custom-setup
Feature: Persistent settings
This assumes wiki content language is English.
Background:
Given I am logged in
And I have reset my preferences
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