// 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.
$("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 () {