Fixed Style/StringLiterals RuboCop offense
Bug: 117989 Change-Id: I82086ebd56ace9f85c521ef53b67e5e4bae9d607
This commit is contained in:
@@ -73,7 +73,7 @@ When(/^I use the panel to change my (?:interface|input) language to "(.*?)"$/) d
|
||||
end
|
||||
|
||||
Then(/^the panel is in English/) do
|
||||
on(PanelPage).panel_language_element.text.should == "Language"
|
||||
on(PanelPage).panel_language_element.text.should == 'Language'
|
||||
end
|
||||
|
||||
When(/^I switch to Input panel of language settings$/) do
|
||||
@@ -81,7 +81,7 @@ When(/^I switch to Input panel of language settings$/) do
|
||||
end
|
||||
|
||||
Then(/^the language list of ULS should use Autonym font$/) do
|
||||
on(PanelPage).uls_language_name_item("en").style("font-family").should match /Autonym'?, ?sans-serif/
|
||||
on(PanelPage).uls_language_name_item('en').style('font-family').should match /Autonym'?, ?sans-serif/
|
||||
end
|
||||
|
||||
Then(/^I should see (.*) as the selected input language$/) do |language|
|
||||
|
||||
Reference in New Issue
Block a user