Fix and enable feature Persistent settings
* Reuse existing steps where possible * Rename steps file to match convention * Moved unrelated steps to a new file * Added wait for saving https://mingle.corp.wikimedia.org/projects/internationalization/cards/3822 Bug: 56885 Change-Id: I480058430696579947187265b940ea46156f1519
This commit is contained in:
@@ -1,23 +1,22 @@
|
||||
@login @reset-preferences-after
|
||||
@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 interface language that is different from content language and has a font
|
||||
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 open "Fonts" panel of language settings
|
||||
And I select a font for the interface language
|
||||
And I apply the changes
|
||||
When I apply the changes
|
||||
And I visit a random page
|
||||
And I open "Fonts" panel of language settings
|
||||
Then the selected interface font must be what I previously selected
|
||||
Then the selected interface font must be OpenDyslexic
|
||||
|
||||
Scenario: Discarding a live preview of a font keeps the previous font
|
||||
When I open "Fonts" panel of language settings
|
||||
And I select a font for the interface language
|
||||
And I close the panel to discard the changes
|
||||
When I close the panel to discard the changes
|
||||
And I visit a random page
|
||||
Then the selected interface font must be "system"
|
||||
Then the selected interface font must be Systemschriftart
|
||||
|
||||
Reference in New Issue
Block a user