mediawiki-extensions-Revisi.../tests/browser/features/expand.feature
WMDE-Fisch 187e1e5194 Stabilize ruby selenium browser tests
- 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
2018-08-14 07:52:22 +00:00

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