Files
mediawiki-extensions-Univer…/tests/browser/features/step_definitions/autonym_steps.rb
Željko Filipin 22e8762cec Fixed Style/StringLiterals RuboCop offense
Bug: 117989
Change-Id: I82086ebd56ace9f85c521ef53b67e5e4bae9d607
2015-11-18 12:00:36 +01:00

16 lines
507 B
Ruby

When(/^I am on the main page$/) do
visit MainPage
end
Then(/^I open Input side panel of language settings$/) do
on(PanelPage).panel_side_input_element.when_visible.click
end
Then(/^the Interlanguage links should use Autonym font$/) do
on(InterlanguagePage).interlang_link_element.style('font-family').should == "'Autonym',sans-serif"
end
Then(/^elements that are not Interlanguage links should not use Autonym font$/) do
on(MainPage).non_interlanguage_links_use_autonym_font?.should == false
end