Fix the autonym test with the new id for Input settings

Change-Id: I3ad6156761c8f4ab5a77165d07c56581a1b4edac
This commit is contained in:
Amir E. Aharoni
2013-11-21 22:55:53 +05:30
committed by Amire80
parent 52a011afa2
commit 2923accef7
3 changed files with 8 additions and 1 deletions

View File

@@ -31,6 +31,6 @@ Feature: 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 panel of language settings
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

View File

@@ -1,3 +1,7 @@
Then(/^I open Input panel of language settings$/) do
on(PanelPage).panel_input_element.when_visible.click
end
Then(/^I open Input side panel of language settings$/) do
on(PanelPage).panel_side_input_element.when_visible.click
end

View File

@@ -14,6 +14,9 @@ class PanelPage
button(:panel_fonts, id: 'uls-display-settings-fonts-tab')
button(:panel_language, id: 'uls-display-settings-language-tab')
div(:panel_side_display, id: 'display-panel-trigger')
div(:panel_side_input, id: 'input-panel-trigger')
ul(:autonym, class: 'three columns end')
span(:panel_button_close, id: 'languagesettings-close')