mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-27 22:22:54 +00:00
407c1de800
I have seen this failing: https://integration.wikimedia.org/ci/job/mwext-mw-selenium-jessie/9255/console The idea is to pre-set this cookie so the help dialog never shows up in the first place. The tests do not need to look for the element, click it, wait for the dialog to close. This should even speed up the browser tests, I believe. Also this adjustes waiting conditions in several places to address timing issues with failing browser tests. Since these tests should be replaced by Node.js on the long run I added "sleep" in the cases although it's not recommended. Change-Id: Ida381faa390aa62ebaadd3713864676be80abd51
23 lines
832 B
Gherkin
23 lines
832 B
Gherkin
@chrome @en.wikipedia.beta.wmflabs.org @firefox @integration
|
|
Feature: RevisionSlider expand
|
|
Background:
|
|
Given a page with 2 revision(s) exists
|
|
|
|
Scenario: RevisionSlider is collapsed initially
|
|
Given I am on the diff page
|
|
Then There should be a RevisionSlider expand button
|
|
And RevisionSlider wrapper should be hidden
|
|
|
|
Scenario: RevisionSlider loads after expanding
|
|
Given I am on the diff page
|
|
When I click on the expand button
|
|
Then RevisionSlider wrapper should be visible
|
|
And The RevisionSlider has loaded
|
|
|
|
Scenario: RevisionSlider hides after collapsing
|
|
Given I am on the diff page and disabled the help dialog
|
|
When I click on the expand button
|
|
And I wait until the RevisionSlider has loaded
|
|
And I click on the expand button
|
|
Then RevisionSlider wrapper should be hidden
|