X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=b6959b7d2ceca294dfdb63599c483bdfdeef6b71;hb=f0ddbd3f53da4af38254553d0e3fb6184e95bd2f;hp=1a4860ddefcf18c56125b80fd3d8fc699b48c818;hpb=fbcf2b14f4b86664ad66edb458565f520148ee46;p=mkws-moved-to-github.git diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 1a4860d..b6959b7 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -42,6 +42,8 @@ function init_jasmine_config() { } debug("jasmine config: " + key + " => " + jasmine_config[key]); } + + mkws.jasmine_done = false; } var get_hit_counter = function () { @@ -180,7 +182,7 @@ describe("Check Termlist", function () { waitsFor(function () { return $("div#mkwsFacetSources").length == 1 ? true : false; - }, "check for facet sources", 2 * jasmine_config.second); + }, "check for facet sources", 4 * jasmine_config.second); // everything displayed? @@ -261,7 +263,7 @@ describe("Check Termlist", function () { } else { return false; } - }, "Search for source in navi bar", jasmine_config.second); + }, "Search for source in navi bar", 4 * jasmine_config.second); // Note: it may happens that limited source search returns the same number of hits // as before. Thats not really an error, but unfortunate @@ -384,7 +386,9 @@ describe("Check status client counter", function () { }); -/* dummy EOF */ +/* done */ describe("All tests are done", function () { - it(">>> hooray <<<", function () {}); + it(">>> hooray <<<", function () { + mkws.jasmine_done = true; + }); });