Normalize the font-family name in browser test

Bug: 57101
Change-Id: I01a787f8576e309d313219bd560ce4be4469c438
This commit is contained in:
Kartik Mistry
2014-02-06 21:07:52 +05:30
parent 516095e43b
commit 473dc8536a

View File

@@ -73,7 +73,7 @@ When(/^I switch to Input panel of language settings/) do
end end
Then(/^the language list of ULS should use Autonym font$/) do Then(/^the language list of ULS should use Autonym font$/) do
on(PanelPage).uls_language_name_item("en").style("font-family").should == "'Autonym',sans-serif" on(PanelPage).uls_language_name_item("en").style("font-family").should match /Autonym'?, ?sans-serif/
end end
Then(/^I should see (.*) as the selected input language$/) do |language| Then(/^I should see (.*) as the selected input language$/) do |language|