Fixes to failing tests
Ambiguous match of "the selected interface font must be "Systemschriftart"": Element is no longer attached to the DOM (Selenium::WebDriver::Error::StaleElementReferenceError) Change-Id: I74d6c8245d413dbf2819a113a19476d9b998d3c4
This commit is contained in:
committed by
Zeljko Filipin
parent
eb7cb4ecd5
commit
35c4837816
@@ -2,10 +2,6 @@ Given(/^I open ULS$/) do
|
||||
on(PanelPage).trigger_personal_element.when_visible.click
|
||||
end
|
||||
|
||||
Given(/^I open display settings$/) do
|
||||
on(PanelPage).panel_display_element.when_visible.click
|
||||
end
|
||||
|
||||
Then(/^the active content font must be the same as font prior to the preview$/) do
|
||||
pending('bug #56081') do
|
||||
on(PanelPage).content_font.should == @original_content_font
|
||||
@@ -17,17 +13,11 @@ Then(/^the active interface font must be the same as font prior to the preview$/
|
||||
end
|
||||
|
||||
Then(/^the selected content font must be "(.*?)"$/) do |font|
|
||||
step 'I open display settings'
|
||||
step 'I open Display panel of language settings'
|
||||
step 'I open Fonts panel of language settings'
|
||||
on(PanelPage).selected_content_font.should == font
|
||||
end
|
||||
|
||||
Then(/^the selected interface font must be "(.*?)"$/) do |font|
|
||||
step 'I open display settings'
|
||||
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