2016-07-04 13:56:00 +00:00
|
|
|
@chrome @en.wikipedia.beta.wmflabs.org @firefox @integration
|
2016-06-29 10:52:05 +00:00
|
|
|
Feature: RevisionSlider help
|
|
|
|
Background:
|
2017-04-05 09:24:40 +00:00
|
|
|
Given a page with 2 revision(s) exists
|
2016-07-04 13:56:00 +00:00
|
|
|
And I am on the diff page
|
2016-06-29 10:52:05 +00:00
|
|
|
|
2016-10-07 14:28:43 +00:00
|
|
|
Scenario: RevisionSlider tutorial is present on first load
|
|
|
|
When I click on the expand button
|
|
|
|
And I wait until the RevisionSlider has loaded
|
2016-06-29 10:52:05 +00:00
|
|
|
Then The help dialog should be visible
|
2016-10-07 14:28:43 +00:00
|
|
|
|
|
|
|
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
|
2016-06-29 10:52:05 +00:00
|
|
|
And I refresh the page
|
2016-08-05 16:14:28 +00:00
|
|
|
And I click on the expand button
|
2016-10-07 14:28:43 +00:00
|
|
|
And I wait until the RevisionSlider has loaded
|
2016-06-29 10:52:05 +00:00
|
|
|
Then The help dialog should not be present
|
|
|
|
|
|
|
|
Scenario: RevisionSlider tutorial sequence works
|
2016-10-07 14:28:43 +00:00
|
|
|
When I click on the expand button
|
|
|
|
And I wait until the RevisionSlider has loaded
|
|
|
|
And I have moved to the next step
|
2016-06-29 10:52:05 +00:00
|
|
|
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
|
2016-08-05 16:14:28 +00:00
|
|
|
And I click on the expand button
|
2016-10-07 14:28:43 +00:00
|
|
|
And I wait until the RevisionSlider has loaded
|
2016-06-29 10:52:05 +00:00
|
|
|
Then The help dialog should not be present
|