mediawiki-extensions-Popups/tests/node-qunit
Sam Smith 35bf613964 eventLogging: Add missing *Hover properties
Action changes:
* Include the namespace ID in LINK_DWELL.

Reducer changes:
* Add the createEvent helper, which adds the pageTitleHover and
  namespaceIdHover properties in the event.
* Create "dismissed", "dwelledButAbandoned", and "opened" events using
  the createEvent helper.

Additional changes:
* Store the target page's associated mw.Title using jQuery.
* Update the eventLogging reducer's test cases so that all LINK_DWELL
  representations include title and namespaceID attributes.
* Create the createStubTitle factory function, which returns a minimal
  usable mw.Title stub, and use it in the actions and integration test
  cases.

Bug: T164256
Change-Id: I8a63d82a65324680dff9176020a8ea97695428c4
2017-05-13 08:27:58 +01:00
..
changeListeners eventLogging: Discard events with duplicate tokens 2017-05-10 11:43:05 +01:00
gateway Hygiene: Lint JS files on tests/node-qunit too 2017-04-26 12:34:12 +02:00
preview Fix ,->; typos 2017-05-03 10:19:19 +01:00
reducers eventLogging: Add missing *Hover properties 2017-05-13 08:27:58 +01:00
actions.test.js eventLogging: Add missing *Hover properties 2017-05-13 08:27:58 +01:00
changeListener.test.js Test: Migrate changeListener.test.js to node-qunit 2017-02-20 20:01:01 +01:00
counts.test.js Set up qunit running in node to migrate tests to commonjs 2017-02-20 20:01:01 +01:00
getTitle.test.js build: Update eslint to 0.4.0 and make pass 2017-05-05 05:43:16 +01:00
integration.test.js eventLogging: Add missing *Hover properties 2017-05-13 08:27:58 +01:00
isEnabled.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
previewBehavior.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
processLinks.test.js eventLogging: Add missing *Hover properties 2017-05-13 08:27:58 +01:00
renderer.js QA: Test renderer#show 2017-05-09 17:15:01 -04:00
schema.test.js Hygiene: Tidy up QUnit references 2017-05-04 15:53:44 +01:00
settingsDialog.test.js Tests: Migrate settingsDialog.test.js to node qunit 2017-02-22 12:14:07 +01:00
statsvInstrumentation.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
stubs.js eventLogging: Add missing *Hover properties 2017-05-13 08:27:58 +01:00
userSettings.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
wait.test.js Test: Migrate wait.test.js to node-qunit 2017-02-22 12:13:37 +01:00