Normalize the font-family name in browser test
Bug: 57101 Change-Id: I01a787f8576e309d313219bd560ce4be4469c438
This commit is contained in:
@@ -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|
|
||||||
|
|||||||
Reference in New Issue
Block a user