Files
mediawiki-extensions-Univer…/tests/browser/features/step_definitions/persistent_settings_steps.rb
Niklas Laxström 35c4837816 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
2013-11-26 10:27:25 +01:00

17 lines
596 B
Ruby

Then(/^the selected interface font must be (.*?)$/) 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'
on(PanelPage).selected_interface_font.should == font
end
Then(/^the selected input method for Malayalam is ml-inscript2$/) do
step 'I click on an input box'
step 'I should see the input method indicator'
step 'in it there must be an element with Malayalam text'
end
When(/^I select the ml-inscript2 input method in the panel$/) do
on(PanelPage).ml_inscript2_radio_element.click
end