ignore non-functional limit search for authors if running raw pp2, MKWS-114
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 7 Feb 2014 13:15:59 +0000 (13:15 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 7 Feb 2014 13:15:59 +0000 (13:15 +0000)
test/spec/mkws-pazpar2.js

index 422bb54..7baff6c 100644 (file)
@@ -208,6 +208,11 @@ describe("Check Termlist", function () {
     });
 
     it("limit search to first author", function () {
+        if (!mkws_config.use_service_proxy) {
+            debug("running raw pp2, ignore non-functional limit search for authors");
+            return;
+        }
+
         var hits_all_targets = get_hit_counter();
         var author_number = 2; // 2=first author
         // do not click on author with numbers, e.g.: "Bower, James M. Beeman, David, 1938-"