X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=dd7a2abb7ce2826b0b7b696b1a80ba2e6994b26b;hb=ca6f73053a08da415a02b697ae8bcfd5bf676c3a;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..dd7a2ab 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? @@ -384,7 +386,10 @@ 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; + }); }); +