Fixed Style/StringLiterals RuboCop offense
Bug: 117989 Change-Id: I82086ebd56ace9f85c521ef53b67e5e4bae9d607
This commit is contained in:
@@ -11,13 +11,13 @@ When(/^I start editing a page$/) do
|
||||
end
|
||||
|
||||
When(/^I select (.*?) font for the content language$/) do |font|
|
||||
step "I open the Universal Language Selector"
|
||||
step "I open Display panel of language settings"
|
||||
step "I open Fonts panel of language settings"
|
||||
step 'I open the Universal Language Selector'
|
||||
step 'I open Display panel of language settings'
|
||||
step 'I open Fonts panel of language settings'
|
||||
step "I select #{font} font for the content language for the live preview"
|
||||
step "I apply the changes"
|
||||
step 'I apply the changes'
|
||||
end
|
||||
|
||||
Then(/^I should see the edit area text being displayed using "(.*?)" font$/) do |font|
|
||||
on(EditPage).editarea_element.style("font-family").should match(/^#{font}/)
|
||||
on(EditPage).editarea_element.style('font-family').should match(/^#{font}/)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user