Add new scenarios for font changes
There is currently some duplication between the various page objects and other code. Those should be cleaned up incrementally. Change-Id: I592829a00ca65bbecd5399b773c885c764c1cc06
This commit is contained in:
committed by
Amir E. Aharoni
parent
8aa7b46191
commit
d695b21381
14
tests/browser/features/persistent_settings.feature
Normal file
14
tests/browser/features/persistent_settings.feature
Normal file
@@ -0,0 +1,14 @@
|
||||
@login @reset-preferences-after @en.wikipedia.beta.wmflabs.org @commons.wikimedia.beta.wmflabs.org
|
||||
Feature: Persistent settings
|
||||
|
||||
Background:
|
||||
Given I am logged in
|
||||
And I set "German" as the interface language
|
||||
And the content language is "English"
|
||||
|
||||
Scenario: Interface font sticks to another page
|
||||
When I open "Fonts" panel of language settings
|
||||
And I select "OpenDyslexic" font for the interface language for the live preview
|
||||
And I apply the changes
|
||||
And I visit a random page
|
||||
Then the selected interface font must be "OpenDyslexic"
|
||||
Reference in New Issue
Block a user