mediawiki-extensions-Revisi.../tests/browser/features/betafeature.feature
addshore d7caa6c1f3 Start browser tests (Initial test for beta feature switch)
This adds 1 simple browser test to make sure that the placeholder
for the revision slider loads when the beta feature is enabled and
does not load when it is disabled

More tests will follow.

Bug: T133278
Change-Id: I5be9014b6c5ac03128c034fd866141e89fd7a0ed
2016-06-30 14:46:37 +01:00

19 lines
800 B
Gherkin

@chrome @en.wikipedia.beta.wmflabs.org @firefox @test2.wikipedia.org @vagrant @integration
Feature: RevisionSlider betafeature
Background:
Given I am logged in
And The page "RevisionSliderTestPage1" has the following edits:
| RS text |
| RS longer text |
| RS less text |
Scenario: RevisionSlider is not loaded when feature disabled
Given RevisionSlider is disabled as a beta feature
And I am on the "RevisionSliderTestPage1" 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 "RevisionSliderTestPage1" diff page
And The RevisionSlider has loaded
Then There should be a RevisionSlider container