mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-18 21:05:57 +00:00
728073d9e4
* Wait until the form submits successfully, verifying it worked by testing for the notification toast. * Drop sleep statements where possible - instead use when_present Use one when asserting something doesn't show to avoid false positives * Allow more time for the hovercard to show (5s) - API requests might take longer than default time. * Assert popups JavaScript loads before continuing with test. This helped trap a bug in testing and will be useful for future. Bug: T133019 Depends-On: Icb1e6ddc8f95da5e4b4de2916d292694c11ba731 Change-Id: Iacd3beedf44cadffcf0285231b2df7e5b64294f6
18 lines
650 B
Gherkin
18 lines
650 B
Gherkin
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @integration
|
|
Feature: Popups core
|
|
Background:
|
|
Given the hover cards test page is installed
|
|
And I am logged in
|
|
And HoverCards is enabled as a beta feature
|
|
And I am on the "Popups test page" page
|
|
And the Hovercards JavaScript module has loaded
|
|
|
|
Scenario: Hover card is visible on mouse over
|
|
And I hover over the first valid link
|
|
Then I should see a hover card
|
|
|
|
Scenario: Hover card is not visible on mouse out
|
|
And I hover over the first valid link
|
|
And I hover over the page header
|
|
Then I should not see a hover card
|