mediawiki-extensions-Popups/tests
Sam Smith cbdcf7d353 Consistently delay showing previews
While I1bf953b2 fixed the typo in FETCH_START_DELAY, it didn't do
anything to address the inconsistency in the time it takes to render a
preview (preview delay).

If the gateway result resolves before the target preview delay (500 ms)
is met, then delay dispatching the FETCH_END action until it is. If,
however, the gateway result resolves after the target preview delay,
then dispatch the FETCH_END action immediately.

Supporting changes:
* Expose the fetch action to ease testing it and to help tidy up the
  mw.popups.actions.linkDwell tests.

Change-Id: Idf02343a0417cfbb33093a81d97ecebc5c1c7379
2017-01-09 15:00:02 -08:00
..
browser Tag previews acceptance tests with @integration 2016-12-13 14:47:32 +00:00
phpunit Inject preference option directly after skin select 2016-12-21 16:53:33 +00:00
qunit Consistently delay showing previews 2017-01-09 15:00:02 -08:00
.jscsrc.js Update linting and enable command line QUnit 2016-11-08 13:56:17 -05:00