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")
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);