From 5bb37cdb165de8b6d607835ed9cf671628f9af41 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 9 May 2014 12:57:39 +0100 Subject: [PATCH] Check for mkwsDetails class, not details. --- test/spec/mkws-pazpar2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4