Check for mkwsDetails class, not details.
authorMike Taylor <mike@indexdata.com>
Fri, 9 May 2014 11:57:39 +0000 (12:57 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 9 May 2014 11:57:39 +0000 (12:57 +0100)
test/spec/mkws-pazpar2.js

index 0affaac..8e7543d 100644 (file)
@@ -423,7 +423,7 @@ describe("Show record", function () {
 
         // wait until the record pops up
         waitsFor(function () {
 
         // wait until the record pops up
         waitsFor(function () {
-            var show = $("div.mkwsRecords div.record:nth-child(" + record_number + ") > div.details");
+            var show = $("div.mkwsRecords div.record:nth-child(" + record_number + ") > div.mkwsDetails");
             //debug("poprecord: " + (show ? show.length : -1) + " " + $("div.mkwsRecords div.record").text());
             return show != null && show.length ? true : false;
         }, "wait some miliseconds to show up a record", 2 * jasmine_config.second);
             //debug("poprecord: " + (show ? show.length : -1) + " " + $("div.mkwsRecords div.record").text());
             return show != null && show.length ? true : false;
         }, "wait some miliseconds to show up a record", 2 * jasmine_config.second);