Skip to content

Test harness does not allow timing_test()s to be started after page has finished loading #321

Open
@steveblock

Description

@steveblock

This functionality would be useful for tests where we need to wait for some asynchronous set-up, eg MediaReference tests ...

async_test(function(testObject) {
  waitForSomethingAsync(function() {
    timing_test(function() {
      at(1.0, function() {
        assert_true(...);
        testObject.done();
      });
    });
  });
});

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions