Commit 38db59c0 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

test/QUnit/nightmare.js: Wait for the end of the tests

The border of the header has a different class depending on the success or
failure of the test. This is not very robust as it may change with future
QUnit releases.

Fixes #2899
parent 071f70de
Pipeline #11387 failed with stages
in 15 seconds
......@@ -8,7 +8,9 @@ var uri = 'file://' + curdir;
.on('console', function(){ console.log(arguments[1]) })
.wait(function() {
return $('.qunit-fail').length > 0 || $('.qunit-pass').length > 0;
.evaluate(function () {
return tap_output;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment