* 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
46 lines
2.1 KiB
Gherkin
46 lines
2.1 KiB
Gherkin
@firefox @internet_explorer_10 @login @phantomjs
|
|
Feature: Live preview of display language changes
|
|
|
|
Background:
|
|
Given I am logged in
|
|
And I have reset my preferences
|
|
And I am at the main 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
|
|
|
|
@clean @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
|
|
|
|
@clean @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
|
|
# @clean @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
|