X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=bf4af6ac5e3dcbbd97ecaf9c0a5c4ee4e0eed387;hb=2e4099249aa3b260eac15ba49a851dba828f665c;hp=96380a72fc4729b73048f95a703c65f813a8515f;hpb=252fc09560a82fcbadbb8ad7d2dc7176d773f359;p=mkws-moved-to-github.git diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 96380a7..bf4af6a 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -6,7 +6,10 @@ // get references from mkws.js, lazy evaluation var debug = function (text) { - mkws.log("Jasmine: " + text) + // use a debug function with time stamps + mkws.teams["AUTO"].log("Jasmine: " + text); + + //mkws.log("Jasmine: " + text) } // Define empty jasmine_config for simple applications that don't define it. @@ -600,13 +603,13 @@ describe("Check per page options", function () { $("div.mkwsRecords").bind("DOMNodeInserted DOMNodeRemoved propertychange", function () { waitcount++; - // debug("DOM wait for change, per page: " + waitcount); + debug("DOM wait for change, per page: " + waitcount); }); }); waitsFor(function () { //debug("wait for: " + waitcount); - return waitcount >= 6 ? true : false; + return waitcount >= 30 ? true : false; }, "Records DOM change, by per page", 3 * jasmine_config.second); runs(function () {