From: Wolfram Schneider Date: Mon, 10 Mar 2014 10:40:22 +0000 (+0000) Subject: LoC has records without links, in that case the test should not fail X-Git-Tag: 1.0.0~1318^2~13 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=30d4c34eebe574801b03fb88293c74728d9aaf82 LoC has records without links, in that case the test should not fail --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index a49598b..cb5ba41 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -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());