X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=d0bf9e82d1aaa4095d34721363c916f260dfb177;hb=31c55ebec20636cde992491aca72d83d237c4211;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..d0bf9e8 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,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; + }); });