mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-12 07:25:13 +00:00
c2f4b64a3a
- Applied the Given-When-Then rule - Created alias of "close-help-dialog" step for readability Bug: T146276 Change-Id: Icc8aeb8720025bd3c6d6bc811713fac48a9919dd
34 lines
1.3 KiB
Gherkin
34 lines
1.3 KiB
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
|
|
When I click on the expand button
|
|
And I wait until the RevisionSlider has loaded
|
|
Then The help dialog should be visible
|
|
|
|
Scenario: RevisionSlider tutorial is not present after it was dismissed once
|
|
When I click on the expand button
|
|
And I wait until the RevisionSlider has loaded
|
|
And I have dismissed the help dialog
|
|
And I refresh the page
|
|
And I click on the expand button
|
|
And I wait until the RevisionSlider has loaded
|
|
Then The help dialog should not be present
|
|
|
|
Scenario: RevisionSlider tutorial sequence works
|
|
When I click on the expand button
|
|
And I wait until the RevisionSlider has loaded
|
|
And 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 I click on the expand button
|
|
And I wait until the RevisionSlider has loaded
|
|
Then The help dialog should not be present |