mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-04 12:38:21 +00:00
353ce92d79
* Remove login since it's not longer needed * Point to a new smaller test page instead of Lightbox_demo which should make the tests run much faster * Tweak selenium scroll workaround which seems to be speed-dependant Change-Id: I247ae6a5044ecc93b6f3839f1b9ed955b488b5a7 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/475
18 lines
923 B
Gherkin
18 lines
923 B
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox
|
|
Feature: Basic Multimedia Viewer navigation
|
|
|
|
Scenario: Multimedia Viewer (MMV)
|
|
Given I am at a wiki article with at least two embedded pictures
|
|
When I click on the first image in the article
|
|
Then the image metadata and the image itself should be there
|
|
When I click the next arrow
|
|
Then the image and metadata of the next image should appear
|
|
When I click the previous arrow
|
|
Then the image and metadata of the previous image should appear
|
|
When I close MMV
|
|
Then I should be navigated back to the original wiki article
|
|
Then the wiki article should be scrolled to the same position as before opening MMV
|
|
When I click on the first image in the article
|
|
And I press the browser back button
|
|
Then I should be navigated back to the original wiki article
|
|
Then the wiki article should be scrolled to the same position as before opening MMV |