*/
var debug_level = mkws.debug_level;
+var debug = mkws.debug_function;
var get_hit_counter = function () {
// not yet here
// wait for service proxy auth
waitsFor(function () {
- return mkws.service_proxy_auth;
+ return mkws.authenticated;
}, "SP auth done", 10 * 1000);
runs(function () {
expect(click.length).toBe(1);
waitsFor(function () {
- if ($("div#mkwsNavi").length && $("div#mkwsNavi").text().match(/^Source/)) {
+ if ($("div#mkwsNavi").length && $("div#mkwsNavi").text().match(/Source: /)) {
return true;
} else {
return false;