From 2d5695485b51e8b297b85215fd4f837a7bfda02d Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 24 Jan 2014 12:17:17 +0000 Subject: [PATCH] wait longer for author facets 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index b90b42d..cbdfa93 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -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); -- 1.7.10.4