Autonym font browser tests refactoring
* Tofu detection selects system fonts over Autonym font. * Interlanguage Autonym font is blacklisted. * phantomjs bug is fixed. Change-Id: I5c7433b917b8d7f79f706a4a7a97a6c6a9a6afa2
This commit is contained in:
@@ -1,14 +1,7 @@
|
|||||||
# The tests do not normalize the font-family passed back by the browser
|
|
||||||
# Firefox/Chrome/Phantomjs handle the normalization differently.
|
|
||||||
#
|
|
||||||
# https://bugzilla.wikimedia.org/show_bug.cgi?id=57101
|
|
||||||
@phantomjs-bug
|
|
||||||
Feature: Autonym font
|
Feature: Autonym font
|
||||||
|
|
||||||
* Web font should always be applied to the ULS language selector's language
|
* With tofu detection in ULS, system fonts will be given preference over webfonts.
|
||||||
selection screen for display and input languages.
|
* Reference: https://upload.wikimedia.org/wikipedia/commons/7/7d/ULS-WebFonts-Workflow-Diagram.png
|
||||||
* Web font should always be applied to the interlanguage section of MediaWiki
|
|
||||||
when MediaWiki extension ULS is installed.
|
|
||||||
|
|
||||||
@login
|
@login
|
||||||
Scenario: Autonym font is used in the ULS language search dialog for display language selection by logged-in users
|
Scenario: Autonym font is used in the ULS language search dialog for display language selection by logged-in users
|
||||||
@@ -37,3 +30,9 @@ Feature: Autonym font
|
|||||||
And I open Input side panel of language settings
|
And I open Input side panel of language settings
|
||||||
When I click the button with the ellipsis
|
When I click the button with the ellipsis
|
||||||
Then the language list of ULS should use Autonym font
|
Then the language list of ULS should use Autonym font
|
||||||
|
|
||||||
|
#Autonym is blacklisted in Interlanguage area at moment, and may whitelist in future.
|
||||||
|
Scenario: Autonym font should be used in the Interlanguage area of a page only with Interlanguage links
|
||||||
|
When I am on the main page
|
||||||
|
Then the Interlanguage links should use Autonym font
|
||||||
|
And elements that are not Interlanguage links should not use Autonym font
|
||||||
|
|||||||
Reference in New Issue
Block a user