mediawiki-extensions-Revisi.../tests/browser/features/betafeature.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

16 lines
616 B
Gherkin

@chrome @en.wikipedia.beta.wmflabs.org @firefox @integration
Feature: RevisionSlider betafeature
Background:
Given I am logged in
And a page with 2 revision(s) exists
Scenario: RevisionSlider is not loaded when feature disabled
Given RevisionSlider is disabled as a beta feature
And I am on the diff page
Then There should not be a RevisionSlider placeholder
Scenario: RevisionSlider is loaded when feature enabled
Given RevisionSlider is enabled as a beta feature
And I am on the diff page
And The RevisionSlider has loaded
Then There should be a RevisionSlider container