fix waitcount for sort by
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 9 Jul 2014 11:47:41 +0000 (11:47 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 9 Jul 2014 11:47:41 +0000 (11:47 +0000)
test/spec/mkws-pazpar2.js

index 4ce2127..23ef7fe 100644 (file)
@@ -696,7 +696,7 @@ describe("Check SortBy options", function () {
 
         waitsFor(function () {
             //debug("wait for2: " + waitcount);
-            return waitcount >= per_page_number ? true : false;
+            return waitcount >= (per_page_number + 10)? true : false;
         }, "DOM change mkwsRecords, by sort page", 3 * jasmine_config.second);
 
         runs(function () {