mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-12 07:25:13 +00:00
d7caa6c1f3
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
19 lines
800 B
Gherkin
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 |