LoC has records without links, in that case the test should not fail
[mkws-moved-to-github.git] / 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());