mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-18 12:55:51 +00:00
3e78503e8e
Basic feature of browsing a page, hovering a link, and showing/hiding a hovercard. Depends-On: Ie94fa399512be041f12b2f7cada20d4206ddaf82 Bug: T133019 Change-Id: Idf39e7e2a3b343babd6d0538225b4ef9002e8ac1
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
|