mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-27 14:12:53 +00:00
187e1e5194
- added sleep to let scripts load - changed cookie setting to use vanilla JS - replace deprecated visible methods - fixed element definitions - fixed indentation - removed unused code Change-Id: I21047f7c529eee7e22f84fe1023c9e23b74cffa0
21 lines
755 B
Gherkin
21 lines
755 B
Gherkin
@chrome @en.wikipedia.beta.wmflabs.org @firefox @integration
|
|
Feature: RevisionSlider expand
|
|
Background:
|
|
Given a page with 2 revision(s) exists
|
|
|
|
Scenario: RevisionSlider is collapsed initially
|
|
Given I am on the diff page
|
|
Then There should be a RevisionSlider expand button
|
|
And RevisionSlider wrapper should be hidden
|
|
|
|
Scenario: RevisionSlider loads after expanding
|
|
Given I am on the diff page
|
|
When I click on the expand button
|
|
Then RevisionSlider wrapper should be visible
|
|
And The RevisionSlider has loaded
|
|
|
|
Scenario: RevisionSlider hides after collapsing
|
|
Given I have loaded the RevisionSlider and dismissed the help dialog
|
|
And I click on the expand button
|
|
Then RevisionSlider wrapper should be hidden
|