HomePhabricator

tests: Fix QUnit failures due to pending ajax requests

Description

tests: Fix QUnit failures due to pending ajax requests

  • Changed tests to use mocked audio element, where applicable, to decouple behaviour.
  • Changed tests to immediately get response from mock server and fixed Ajax callbacks to work with this.
  • Set default server URL to the empty string.

Bug: T194620
Change-Id: Iaafd4e267c2ef6ca7b292991cfb2a5638305b9d7

Details

Provenance
Jdforrester-WMFAuthored on Apr 23 2018, 5:40 PM
Lokal_ProfilCommitted on Jun 19 2018, 11:33 AM
Parents
rEWIS8fcefab61ece: Hotfix for bcb22a5
Branches
Unknown
Tags
Unknown
ChangeId
Iaafd4e267c2ef6ca7b292991cfb2a5638305b9d7