mediawiki-extensions-Popups/tests/qunit/ext.popups
jdlrobson 6d859a73a3 Resize thumbnails images returned by REST endpoint
This change resizes thumbnails to the appropriate width
based on the value of mw.popups.gateway.THUMBNAIL_SIZE

Tests cover
* When requested thumbnail is < than original size
* When requested thumbnail is > than original size
* When requested thumbnail is an svg and originalimage
smaller than requested thumb size

Bug: T156800
Change-Id: Ib375b97e2bc959e91de5177efc3df1f2ded54a5b
2017-02-16 16:19:14 -08:00
..
changeListeners Hygiene: Make settings reducer control footer link 2017-01-17 06:40:36 -08:00
gateway Resize thumbnails images returned by REST endpoint 2017-02-16 16:19:14 -08:00
preview model: extract -> page 2017-02-02 17:06:46 +00:00
reducers Don't log editCountBucket when user is logged out 2017-02-06 11:58:18 +00:00
stubs Hygiene: Remove experiment-related code 2016-12-16 10:59:47 +00:00
actions.test.js Hygiene: Use factory functions instead of classes 2017-02-08 18:28:21 +01:00
changeListener.test.js Add footer link change listener 2016-11-16 15:20:34 +00:00
checkin.test.js Fix checkin tests to use fake timers 2017-01-10 09:31:32 -08:00
counts.test.js Include user's preview count in BOOT action 2016-12-12 13:01:44 +00:00
eventLoggingChangeListener.test.js Initial Popups logging implementation 2016-12-12 13:01:44 +00:00
integration.test.js Add support for RESTBase endpoint consumption 2017-02-07 12:36:11 -05:00
isEnabled.test.js Hygiene: Rename isEnabledByUser to shouldSendModuleToUser 2017-02-10 10:07:28 -08:00
pageVisibility.test.js Add reading depth 2016-12-21 15:08:20 -05:00
previewBehavior.test.js Vary cog click behavior 2017-01-15 16:20:22 -08:00
processLinks.test.js Hygiene: #processLinks Improve wording on tests 2016-11-30 17:01:54 +00:00
schema.test.js Hygiene: Rename SchemaPopupsSamplingRate 2017-01-15 11:01:00 -08:00
settingsDialog.test.js Update the settings enabled radio with the enabled state 2016-12-16 10:29:34 +00:00
userSettings.test.js Hygiene: Remove experiment-related code 2016-12-16 10:59:47 +00:00
wait.test.js Render previews 2016-11-24 18:07:03 +00:00