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:
Niklas Laxström
2013-08-27 14:04:24 +03:00
committed by Amir E. Aharoni
parent 8aa7b46191
commit d695b21381
6 changed files with 198 additions and 0 deletions

View 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"