More refactoring ULS font selection tests
Change-Id: I6595e279657948265c45407be2c01a4587fdbc94
This commit is contained in:
committed by
Zeljko Filipin
parent
a5c7b43282
commit
48a5772e9e
@@ -9,3 +9,13 @@ end
|
||||
When(/^I open fonts panel of language settings$/) do
|
||||
on(PanelPage).panel_fonts_element.click
|
||||
end
|
||||
|
||||
Then(/^the active content font must be the same as font prior to the preview$/) do
|
||||
on(PanelPage).get_content_font.should == @original_content_font
|
||||
end
|
||||
|
||||
Then(/^the selected content font must be "(.*?)"$/) do |font|
|
||||
step 'I open display settings'
|
||||
step 'I open fonts panel of language settings'
|
||||
on(PanelPage).selected_content_font.should == font
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user