mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-18 12:55:51 +00:00
12 lines
349 B
Ruby
12 lines
349 B
Ruby
|
Given(/^the hover cards test page is installed$/) do
|
||
|
api.create_page 'Popups test page', File.read('samples/links.wikitext')
|
||
|
end
|
||
|
|
||
|
Given(/^I am on the "(.*?)" page$/) do |page|
|
||
|
visit(ArticlePage, using_params: { article_name: page })
|
||
|
end
|
||
|
|
||
|
Then(/^HoverCards is enabled as a beta feature$/) do
|
||
|
visit(SpecialPreferencesPage).enable_hovercards
|
||
|
end
|