[JSTesting] update QUnit html
authorKrinkle <krinkle@users.mediawiki.org>
Sat, 21 Jan 2012 06:18:38 +0000 (06:18 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sat, 21 Jan 2012 06:18:38 +0000 (06:18 +0000)
* Through all QUnit updates, the html was never updated (only the JS/CSS files).  Updating html now according to QUnit documentation. (introduced a new html element used for adding test document elements which are automatically cleaned up. the JS/CSS for QUnit was already referring to this but silently failing)

includes/specials/SpecialJavaScriptTest.php
tests/qunit/index.html

index c658f0d..d7e1655 100644 (file)
@@ -127,6 +127,7 @@ class SpecialJavaScriptTest extends SpecialPage {
 <div id="qunit-testrunner-toolbar"></div>
 <div id="qunit-userAgent"></div>
 <ol id="qunit-tests"></ol>
+<div id="qunit-fixture">test markup, will be hidden</div>
 </div>
 HTML;
                $out->addHtml( $this->wrapSummaryHtml( $summary, 'frameworkfound' ) . $baseHtml );
index 9845cfb..187e5d5 100644 (file)
        </div>
        <h2 id="qunit-userAgent"></h2>
        <ol id="qunit-tests"></ol>
+       <div id="qunit-fixture"></div>
 
 <!-- Scripts inserting stuff here shall remove it themselfs! -->
 <div id="content"></div>