mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 21:04:11 +00:00
15705664dd
Also add tags to run all tests in beta and test2. Let's see what happens and remove them later if necessary. NOTE: one test had no tags and ostensibly should run only on mw.o We may have to remove them later, but let's see what happens for now Change-Id: I9c4adc7803afc975d9643a35631801bbac459eb7
42 lines
2.1 KiB
Gherkin
42 lines
2.1 KiB
Gherkin
@en.wikipedia.beta.wmflabs.org @mediawiki.org @firefox @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @internet_explorer_11 @test2.wikipedia.org
|
|
Feature: Multimedia Viewer performance
|
|
|
|
Background:
|
|
Given I am using a custom user agent
|
|
And I am at a wiki article with at least two embedded pictures
|
|
|
|
Scenario: Commons with warm cache
|
|
Given I visit an unrelated Commons page to warm up the browser cache
|
|
And I visit the Commons page
|
|
Then the File: page image is loaded
|
|
|
|
Scenario: MMV with warm cache and small browser window
|
|
Given I have a small browser window
|
|
When I click on an unrelated image in the article to warm up the browser cache
|
|
When I close MMV
|
|
When I click on the first image in the article
|
|
Then the MMV image is loaded in 125 percent of the time with a warm cache and an average browser window
|
|
|
|
Scenario: MMV with cold cache and average browser window
|
|
Given I have an average browser window
|
|
When I click on the first image in the article
|
|
Then the MMV image is loaded in 210 percent of the time with a cold cache and an average browser window
|
|
|
|
Scenario: MMV with warm cache and average browser window
|
|
Given I have an average browser window
|
|
When I click on an unrelated image in the article to warm up the browser cache
|
|
When I close MMV
|
|
When I click on the first image in the article
|
|
Then the MMV image is loaded in 125 percent of the time with a warm cache and an average browser window
|
|
|
|
Scenario: MMV with cold cache and large browser window
|
|
Given I have a large browser window
|
|
When I click on the first image in the article
|
|
Then the MMV image is loaded in 240 percent of the time with a cold cache and a large browser window
|
|
|
|
Scenario: MMV with warm cache and large browser window
|
|
Given I have a large browser window
|
|
When I click on an unrelated image in the article to warm up the browser cache
|
|
When I close MMV
|
|
When I click on the first image in the article
|
|
Then the MMV image is loaded in 125 percent of the time with a warm cache and a large browser window |