From: Wolfram Schneider Date: Wed, 22 Oct 2014 12:17:17 +0000 (+0200) Subject: correct error messages for author facets X-Git-Tag: 1.0.0~140^2~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=ba4eb503acca0f5208aca788b23437b0101cba86;p=mkws-moved-to-github.git correct error messages for author facets We are checking for 2 authors links at least --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 274e45f..211b61c 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -254,7 +254,7 @@ describe("Check Termlist", function () { waitsFor(function () { return $("div.mkwsFacet[data-mkws-facet='author'] div.mkwsTerm").length >= 2 ? true : false; - }, "At least one author link displayed", 4 * jasmine_config.second); + }, "At least two author link displayed", 4 * jasmine_config.second); runs(function () { expect($("div.mkwsFacet[data-mkws-facet='author'] div.mkwsTerm").length).toBeGreaterThan(1);