From: Mike Taylor Date: Fri, 9 May 2014 11:57:39 +0000 (+0100) Subject: Check for mkwsDetails class, not details. X-Git-Tag: 1.0.0~695 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=5bb37cdb165de8b6d607835ed9cf671628f9af41 Check for mkwsDetails class, not details. --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 0affaac..8e7543d 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -423,7 +423,7 @@ describe("Show record", 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);