Merge "Regression test for bug 56913"

This commit is contained in:
jenkins-bot
2013-11-21 11:16:41 +00:00
committed by Gerrit Code Review
3 changed files with 18 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ Then(/^a font selector for content language appears$/) do
on(PanelPage).panel_content_font_selector_element.should be_visible
end
When(/^I use the panel to change my interface language to "(.*?)"$/) do |language|
When(/^I use the panel to change my (?:interface|input) language to "(.*?)"$/) do |language|
code = on(PanelPage).language_to_code(language)
on(IMEPage) do |page|
page.language_filter = code
@@ -77,3 +77,7 @@ end
Then(/^the Interlanguage area should use Autonym font$/) do
on(InterlanguagePage).interlang_link_element.style("font-family").should == "'Autonym',sans-serif"
end
Then(/^I should see (.*) as the selected input language$/) do |language|
on(PanelPage).default_language_button_element.text.should == language
end