Files
mediawiki-extensions-Univer…/tests/browser/features/step_definitions/persistent_settings_steps.rb
Niklas Laxström 0f0198ded8 Use existing steps instead of execute_script
Change-Id: Ifb54a9162ac8b4b9c68aea1508081999ea7e7f6c
2013-11-22 12:30:00 +02:00

17 lines
591 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).font_for_interface.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