mediawiki-extensions-Revisi.../tests/browser/features/help.feature
addshore 1671a07d7d Allow browser tests to add more revisions easily
This allows an arbitrary number of revisions to be created
on a page very easily.
The page created will have a name relating to RevisionSlider
suffixed by a random float.

The base logic for this is taken from:
Ic165f108517c534a4b1c12883621b3624c7b0336

This patch also removes the @vagrant tags as RevisonSlider
is not yet in vragrant.
Please see T139296 for the ticket to add it.

Bug: T133278
Change-Id: I8a25db411bee2fa44555a23d1a840907a185c998
2016-07-04 14:58:14 +01:00

27 lines
1,012 B
Gherkin

@chrome @en.wikipedia.beta.wmflabs.org @firefox @integration
Feature: RevisionSlider help
Background:
Given I am logged in
And a page with 2 revision(s) exists
And I have reset my preferences
And RevisionSlider is enabled as a beta feature
And I am on the diff page
Scenario: RevisionSlider tutorial is present on first load only
Given The RevisionSlider has loaded
Then The help dialog should be visible
When I have closed the help dialog at the start
And I refresh the page
And The RevisionSlider has loaded
Then The help dialog should not be present
Scenario: RevisionSlider tutorial sequence works
Given The RevisionSlider has loaded
Then The help dialog should be visible
When I have moved to the next step
And I have moved to the next step
And I have moved to the next step
And I have closed the help dialog at the end
And I refresh the page
And The RevisionSlider has loaded
Then The help dialog should not be present