HomePhabricator

tests: Fix QUnit failures due to pending ajax requests
e89063f8f906Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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:18 AM
ChangeId
Iaafd4e267c2ef6ca7b292991cfb2a5638305b9d7

Commit No Longer Exists

This commit no longer exists in the repository.