mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Merge "Delete unimplemented browser tests"
This commit is contained in:
commit
347852632c
|
@ -1,48 +0,0 @@
|
|||
@integration @chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant
|
||||
Feature: Popups settings
|
||||
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: "Enable previews" footer link correctly appears
|
||||
And I do not see the enable previews link in the footer
|
||||
And I hover over the first valid link
|
||||
And I see a hover card
|
||||
And I disable previews in the popups settings
|
||||
Then I should see the enable previews link in the footer
|
||||
|
||||
Scenario: Disabling previews in the popup settings correctly disables popups
|
||||
And I do not see the enable previews link in the footer
|
||||
And I hover over the first valid link
|
||||
And I see a hover card
|
||||
And I disable previews in the popups settings
|
||||
And I hover over the first valid link
|
||||
Then I should not see a hover card
|
||||
|
||||
Scenario: "Enable previews" footer link correctly disappears
|
||||
And I do not see the enable previews link in the footer
|
||||
And I hover over the first valid link
|
||||
And I see a hover card
|
||||
And I disable previews in the popups settings
|
||||
And I enable previews in the popups settings
|
||||
Then I should not see the enable previews link in the footer
|
||||
|
||||
Scenario: Popups can be enabled via the "Enable previews" footer link
|
||||
And I do not see the enable previews link in the footer
|
||||
And I hover over the first valid link
|
||||
And I see a hover card
|
||||
And I disable previews in the popups settings
|
||||
And I enable previews in the popups settings
|
||||
And I hover over the first valid link
|
||||
Then I should see a hover card
|
||||
|
||||
Scenario: Dismissing settings dialog does not change popups settings
|
||||
And I hover over the first valid link
|
||||
And I see a hover card
|
||||
And I open the popups settings dialog of the first valid link
|
||||
And I dismiss the popups settings dialog of the first valid link
|
||||
And I hover over the first valid link
|
||||
Then I should see a hover card
|
Loading…
Reference in a new issue