From: Wolfram Schneider Date: Fri, 24 Jan 2014 12:17:17 +0000 (+0000) Subject: wait longer for author facets X-Git-Tag: 1.0.0~1610^2~3 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=2d5695485b51e8b297b85215fd4f837a7bfda02d 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") --- 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);