Files
mediawiki-extensions-Univer…/tests/browser/features/live_preview_of_display_language.feature
Niklas Laxström 63af9387b2 Removing font live preview test
* This feature is named live preview of language
* There are two scenarios in font selection feature that also
  test live preview
* This test is actually making changes as well

Change-Id: I799698e08fc3d922259692de7ae0bbf5cbfd0a33
2013-12-04 12:27:29 +02:00

45 lines
2.0 KiB
Gherkin

@login
Feature: Live preview of display language changes
Background:
Given I am logged in
And I am at random page
@commons.wikimedia.beta.wmflabs.org
Scenario: Display language change is previewed immediately
Given I open the Universal Language Selector
And I open Display panel of language settings
And I click the button with the ellipsis
And in the language filter I type malayalam
And I click on the link to select Malayalam
Then I should see the text in the language panel in Malayalam
@commons.wikimedia.beta.wmflabs.org
Scenario: Live preview of display language changes can be reverted on cancel
Given I open the Universal Language Selector
And I open Display panel of language settings
And I select a language different than English for display language
When I click Cancel
And I open Display panel of language settings
Then I should see the text in the language panel in English
@commons.wikimedia.beta.wmflabs.org
Scenario: Live preview of display language changes can be reverted on closing the dialog with the X button
Given I open the Universal Language Selector
And I open Display panel of language settings
And I select a language different than English for display language
When I click X
And I open Display panel of language settings
Then I should see the text in the language panel in English
# https://bugzilla.wikimedia.org/57967
# @commons.wikimedia.beta.wmflabs.org
Scenario: Live preview of display language changes can be reverted on closing the dialog on cancel from a different panel
Given I open the Universal Language Selector
And I open Display panel of language settings
And I select a language different than English for display language
And I switch to Input panel of language settings
When I click Cancel
And I open Display panel of language settings
Then I should see the text in the language panel in English