Files
mediawiki-extensions-Univer…/tests/browser/features/autonym.feature
Željko Filipin ff4bc9ba21 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
2014-04-11 17:19:42 +02:00

40 lines
1.9 KiB
Gherkin

@firefox @internet_explorer_10 @phantomjs
Feature: Autonym font
* With tofu detection in ULS, system fonts will be given preference over webfonts.
* Reference: https://upload.wikimedia.org/wikipedia/commons/7/7d/ULS-WebFonts-Workflow-Diagram.png
@login
Scenario: Autonym font is used in the ULS language search dialog for display language selection by logged-in users
Given I am logged in
And I open the Universal Language Selector
And I open Display panel of language settings
When I click the button with the ellipsis
Then the language list of ULS should use Autonym font
@login
Scenario: Autonym font is used in the ULS language search dialog for input language selection by logged-in users
Given I am logged in
And I open the Universal Language Selector
And I switch to Input panel of language settings
When I click the button with the ellipsis
Then the language list of ULS should use Autonym font
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
Scenario: Autonym font is used in the ULS language search dialog for input language selection by anonymous users
Given I am at the main page
And I open the Universal Language Selector
And I open Input side panel of language settings
When I click the button with the ellipsis
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