Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws
authorHeikki Levanto <heikki@indexdata.dk>
Mon, 10 Mar 2014 11:52:56 +0000 (12:52 +0100)
committerHeikki Levanto <heikki@indexdata.dk>
Mon, 10 Mar 2014 11:52:56 +0000 (12:52 +0100)
1  2 
test/spec/mkws-pazpar2.js

@@@ -246,7 -246,6 +246,7 @@@ describe("Check Termlist", function () 
          var author_number = 2; // 2=first author
          // do not click on author with numbers, e.g.: "Bower, James M. Beeman, David, 1938-"
          // do not click on author names without a comma, e.g.: "Joe Barbara"
 +        // because searching on such authors won't find anything.
          var terms = $("div.mkwsFacetAuthors div.term a");
          for (var i = 0; i < terms.length; i++) {
              var term = $(terms[i]).text();
@@@ -368,8 -367,7 +368,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());