Files
mediawiki-extensions-Univer…/tests/browser/features/autonym.feature
Amir E. Aharoni 05ab9f30dc Don't run the Autonym scenarios in beta sites, because they fail
This is supposed to be addressed more thoroughly in
I5c7433b917b8d7f79f706a4a7a97a6c6a9a6afa2
but until that is merged, they shouldn't run and cause failures.

Change-Id: Ie4e96f2cb0846b9117a26e9bfd902bbcab04eafd
2014-02-20 17:50:57 +04:00

40 lines
1.8 KiB
Gherkin

# 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
* Web font should always be applied to the ULS language selector's language
selection screen for display and input languages.
* Web font should always be applied to the interlanguage section of MediaWiki
when MediaWiki extension ULS is installed.
@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 random 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