Changed Cucumber tags according to the convention
* Replaced @phantomjs-bug with browser specific tags (@firefox @internet_explorer_10 @phantomjs). * Replaced @custom-browser tag with @clean tag. * Deleted cucumber.yml file since it is no longer used. * Replaced old (no longer implemented) step names with new ones The convention: https://www.mediawiki.org/wiki/Manual:Coding_conventions/Selenium#Requir ed_tags Paired with: Kartik Mistry Bug: 60335 Bug: 62477 Change-Id: I54f9ccbaaeb843293fbc1608d53f0e12b6d74cbe
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@login
|
||||
@firefox @internet_explorer_10 @login @phantomjs
|
||||
Feature: Font preferences respected in different languages
|
||||
|
||||
If a user has an edit font preferences respect that preference.
|
||||
@@ -11,6 +11,7 @@ Feature: Font preferences respected in different languages
|
||||
Given I am logged in
|
||||
And I have reset my preferences
|
||||
|
||||
@clean
|
||||
Scenario: Edit area fonts should not change on UI language change if the user preferences for edit area font are set
|
||||
When I set the editing fonts to "monospace"
|
||||
And I set "Hindi" as the interface language
|
||||
@@ -18,31 +19,29 @@ Feature: Font preferences respected in different languages
|
||||
Then I should see the edit area text being displayed using "monospace" font
|
||||
|
||||
# Needs OpenDyslexic font to have been configured on the target wiki
|
||||
@needs-custom-setup
|
||||
Scenario: Edit area should use the fonts selected by the user from ULS for a language
|
||||
When I select OpenDyslexic font for the content language
|
||||
And I start editing a page
|
||||
Then I should see the edit area text being displayed using "OpenDyslexic" font
|
||||
|
||||
Scenario: Edit area should use the ULS selected fonts when content language has a ULS font selection
|
||||
When I open "Language" panel of language settings
|
||||
When I open Language panel of language settings
|
||||
And I click the button with the ellipsis
|
||||
And I use the panel to change my interface language to "German"
|
||||
And I open "Fonts" panel of language settings
|
||||
And I open Fonts panel of language settings
|
||||
And I select "OpenDyslexic" font for the content language for the live preview
|
||||
And I apply the changes
|
||||
And I start editing a page
|
||||
Then I should see the edit area text being displayed using "OpenDyslexic" font
|
||||
|
||||
Scenario: Edit area should use the system default fonts when content language does not have any ULS font selection
|
||||
When I open "Language" panel of language settings
|
||||
When I open Language panel of language settings
|
||||
And I click the button with the ellipsis
|
||||
And I use the panel to change my interface language to "German"
|
||||
And I apply the changes
|
||||
And I start editing a page
|
||||
Then I should see the edit area text being displayed using "monospace" font
|
||||
|
||||
@phantomjs-bug
|
||||
Scenario: Edit area should use browser's default Monospace font for languages that have a default monospace font (Latin, Cyrillic, Hebrew etc.)
|
||||
When I start editing a page
|
||||
Then I should see the edit area text being displayed using "monospace" font
|
||||
|
||||
Reference in New Issue
Block a user