diff --git a/tests/qunit/editor/index.html b/tests/qunit/editor/index.html index b329d7bc89..f013b9a13c 100644 --- a/tests/qunit/editor/index.html +++ b/tests/qunit/editor/index.html @@ -40,6 +40,9 @@ + + + @@ -51,6 +54,8 @@ + + @@ -86,6 +91,7 @@ + @@ -97,6 +103,12 @@ + + + + + + @@ -115,12 +127,15 @@ + + + @@ -130,29 +145,11 @@ + + - - - - - - - - - - - - - - - - - - - - - + diff --git a/tests/qunit/editor/js/init.js b/tests/qunit/editor/js/init.js index e3ea70ffd6..0d47f0718d 100644 --- a/tests/qunit/editor/js/init.js +++ b/tests/qunit/editor/js/init.js @@ -4,7 +4,7 @@ QUnit.config.reorder = false; QUnit.config.hidepassed = true; - window.editor = window.inlineEditor = null; + window.editor = window.inlineEditor = null; var oldModule = module; @@ -23,12 +23,12 @@ // Sauce labs QUnit.testStart(function(testDetails) { - QUnit.log = function(details) { + QUnit.log(function(details) { if (!details.result) { details.name = currentModule + ':' + testDetails.name; log.push(details); } - }; + }); }); QUnit.done(function(results) { diff --git a/tests/qunit/editor/js/qunit/qunit.js b/tests/qunit/editor/js/qunit/qunit.js index 0e279fde17..3aab2bb8fc 100644 --- a/tests/qunit/editor/js/qunit/qunit.js +++ b/tests/qunit/editor/js/qunit/qunit.js @@ -571,6 +571,11 @@ if ( !defined.document || document.readyState === "complete" ) { config.autorun = true; } +if (document.location.search.indexOf('bedrock') !== -1) { + config.autorun = false; + config.autostart = false; +} + QUnit.load = function() { runLoggingCallbacks( "begin", QUnit, {} ); diff --git a/tests/qunit/editor/js/tinymce_loader.js b/tests/qunit/editor/js/tinymce_loader.js index 52eeb62855..fae4529b23 100644 --- a/tests/qunit/editor/js/tinymce_loader.js +++ b/tests/qunit/editor/js/tinymce_loader.js @@ -4,4 +4,6 @@ document.write('