LoC has records without links, in that case the test should not fail
authorWolfram Schneider <wosch@indexdata.dk>
Mon, 10 Mar 2014 10:40:22 +0000 (10:40 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Mon, 10 Mar 2014 10:40:22 +0000 (10:40 +0000)
test/spec/mkws-pazpar2.js

index a49598b..cb5ba41 100644 (file)
@@ -367,8 +367,7 @@ describe("Show record", function () {
 
         var urls = $("div.mkwsRecords div.record:nth-child(" + record_number + ") div table tbody tr td a");
         debug("number of extracted URL from record: " + urls.length);
-        expect(urls.length).toBeGreaterThan(0);
-
+        // expect(urls.length).toBeGreaterThan(0); // LoC has records without links
         for (var i = 0; i < urls.length; i++) {
             var url = $(urls[i]);
             debug("URL: " + url.attr('href') + " text: " + url.text());