X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=8e7543d1487b2edaa122207a6bfffb58192360fb;hb=5bb37cdb165de8b6d607835ed9cf671628f9af41;hp=3433115646fef3542bf21b06bc77eef6d8fb8633;hpb=9f5634aae3265dff242615b82419ca15f3dc3d14;p=mkws-moved-to-github.git diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 3433115..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); @@ -466,7 +466,7 @@ describe("Check switch menu Records/Targets", function () { $("div.mkwsSwitch").children('a').eq(1).trigger("click"); // now the target table must be visible - expect($("div.mkwsBytarget").is(":visible")).toBe(true); + expect($("div.mkwsTargets").is(":visible")).toBe(true); expect($("div.mkwsRecords").is(":visible")).toBe(false); // wait a half second, to show the target view @@ -477,7 +477,7 @@ describe("Check switch menu Records/Targets", function () { // look for table header runs(function () { - expect($("div.mkwsBytarget").html()).toMatch(/Target ID/); + expect($("div.mkwsTargets").html()).toMatch(/Target ID/); }); }); @@ -485,7 +485,7 @@ describe("Check switch menu Records/Targets", function () { $("div.mkwsSwitch").children('a').eq(0).trigger("click"); // now the target table must be visible - expect($("div.mkwsBytarget").is(":visible")).toBe(false); + expect($("div.mkwsTargets").is(":visible")).toBe(false); expect($("div.mkwsRecords").is(":visible")).toBe(true); }); });