Merge "Refactor two live preview scenarios"

This commit is contained in:
jenkins-bot
2013-12-11 09:22:13 +00:00
committed by Gerrit Code Review
4 changed files with 16 additions and 13 deletions

View File

@@ -14,18 +14,22 @@ Feature: Live preview of display language changes
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 "Language" panel of language settings
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 "Language" panel of language settings
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 "Language" panel of language settings
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 "Language" panel of language settings
And I open Display panel of language settings
Then I should see the text in the language panel in English
Scenario: Live preview of display language changes can be reverted on closing the dialog on cancel from a different section