wait longer for author facets
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 24 Jan 2014 12:17:17 +0000 (12:17 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 24 Jan 2014 12:17:17 +0000 (12:17 +0000)
I takes sometimes more than 2 seconds to get facets for authors,
so we will wait now up to 4 seconds. Note: we are checking at this
time only author facets, because we need the value for the next
test ("limit search to first author")

test/spec/mkws-pazpar2.js

index b90b42d..cbdfa93 100644 (file)
@@ -198,7 +198,7 @@ describe("Check Termlist", function () {
 
         waitsFor(function () {
             return $("div#mkwsFacetAuthors div.term").length >= 2 ? true : false;
-        }, "At least one author link displayed", 2 * jasmine_config.second);
+        }, "At least one author link displayed", 4 * jasmine_config.second);
 
         runs(function () {
             expect($("div#mkwsFacetAuthors div.term").length).toBeGreaterThan(1);