# 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 # features/live_preview_of_display_language.feature:38 Given I open the Universal Language Selector # features/step_definitions/panel_steps.rb:5 And I open Display panel of language settings # features/step_definitions/panel_steps.rb:11 And I select a language different than English for display language # features/step_definitions/live_preview_of_display_language_steps.rb:13 And I switch to Input panel of language settings # features/step_definitions/panel_steps.rb:79 When I click Cancel # features/step_definitions/common_steps.rb:37 And I open Display panel of language settings # features/step_definitions/panel_steps.rb:11 Then I should see the text in the language panel in English # features/step_definitions/live_preview_of_display_language_steps.rb:21 unable to locate element, using {:class=>"uls-display-settings", :tag_name=>"div"} (Watir::Exception::UnknownObjectException) ./features/step_definitions/live_preview_of_display_language_steps.rb:23:in `/^I should see the text in the language panel in (.+?)$/' features/live_preview_of_display_language.feature:45:in `Then I should see the text in the language panel in English'