Refactoring Applying the live preview of interface font
We renamed get*font to just *font Change-Id: Ib6992849a2bf927d2e2d465231df58857e506a62
This commit is contained in:
@@ -12,12 +12,12 @@ end
|
||||
|
||||
Then(/^the active content font must be the same as font prior to the preview$/) do
|
||||
pending('bug #56081') do
|
||||
on(PanelPage).get_content_font.should == @original_content_font
|
||||
on(PanelPage).content_font.should == @original_content_font
|
||||
end
|
||||
end
|
||||
|
||||
Then(/^the active interface font must be the same as font prior to the preview$/) do
|
||||
on(PanelPage).get_interface_font.should == @original_interface_font
|
||||
on(PanelPage).interface_font.should == @original_interface_font
|
||||
end
|
||||
|
||||
Then(/^the selected content font must be "(.*?)"$/) do |font|
|
||||
@@ -31,3 +31,7 @@ Then(/^the selected interface font must be "(.*?)"$/) do |font|
|
||||
step 'I open fonts panel of language settings'
|
||||
on(PanelPage).selected_interface_font.should == font
|
||||
end
|
||||
|
||||
Then(/^the interface font must be changed to the "(.*?)" font$/) do |font|
|
||||
on(PanelPage).interface_font.should match("^#{font}")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user