diff --git a/test/backbone.html b/test/backbone.html index 18746043a..ddd93baca 100644 --- a/test/backbone.html +++ b/test/backbone.html @@ -42,7 +42,12 @@ }()); QUnit.config.asyncRetries = 10; - QUnit.config.hidepassed = true; + + QUnit.begin(function() { + QUnit.config.hidepassed = true; + document.getElementById('qunit-tests').className += ' hidepass'; + document.getElementById('qunit-urlconfig-hidepassed').checked = true; + }); // load Lo-Dash if (!ui.isModularize) { diff --git a/test/index.html b/test/index.html index 4982459cd..017407321 100644 --- a/test/index.html +++ b/test/index.html @@ -254,7 +254,6 @@ delete Object._keys; delete objectProto._propertyIsEnumerable; } - QUnit.config.hidepassed = true; // load Lo-Dash and expose it to the bad extensions/shims if (!ui.isModularize) { diff --git a/test/test.js b/test/test.js index c52999f6d..ab49d748d 100644 --- a/test/test.js +++ b/test/test.js @@ -13948,9 +13948,15 @@ /*--------------------------------------------------------------------------*/ QUnit.config.asyncRetries = 10; - QUnit.config.hidepassed = true; - if (!document) { + if (document) { + QUnit.begin(function() { + QUnit.config.hidepassed = true; + document.getElementById('qunit-tests').className += ' hidepass'; + document.getElementById('qunit-urlconfig-hidepassed').checked = true; + }); + } else { + QUnit.config.hidepassed = true; QUnit.config.noglobals = true; QUnit.load(); } diff --git a/test/underscore.html b/test/underscore.html index 43bdea228..c483ec6f6 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -37,7 +37,12 @@