Adapted the jQuery test suite to handle the toolbar moving inline.
authorJohn Resig <jeresig@gmail.com>
Tue, 29 Sep 2009 21:40:17 +0000 (21:40 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 29 Sep 2009 21:40:17 +0000 (21:40 +0000)
test/index.html
test/unit/selector.js

index 164e524..b969c28 100644 (file)
@@ -29,6 +29,7 @@
 <body id="body">
        <h1 id="header">jQuery Test Suite</h1>
        <h2 id="qunit-banner"></h2>
+       <div id="qunit-testrunner-toolbar"></div>
        <h2 id="qunit-userAgent"></h2>
        
        <!-- Test HTML -->
index dc27adc..37da3f3 100644 (file)
@@ -361,7 +361,7 @@ test("pseudo (:) selectors", function() {
        t( "Position Less Than", "p:lt(3)", ["firstp","ap","sndp"] );
        t( "Is A Parent", "p:parent", ["firstp","ap","sndp","en","sap","first"] );
        t( "Is Visible", "#form input:visible", [] );
-       t( "Is Visible", "div:visible:not(.qunit-testrunner-toolbar):lt(2)", ["nothiddendiv", "nothiddendivchild"] );
+       t( "Is Visible", "div:visible:not(#qunit-testrunner-toolbar):lt(2)", ["nothiddendiv", "nothiddendivchild"] );
        t( "Is Hidden", "#form input:hidden", ["text1","text2","radio1","radio2","check1","check2","hidden1","hidden2","name","search"] );
        t( "Is Hidden", "#main:hidden", ["main"] );
        t( "Is Hidden", "#dl:hidden", ["dl"] );