Fix test-suite to use class mkwsResults instead of ID.
[mkws-moved-to-github.git] / test / spec / mkws-pazpar2.js
index 92230ab..7d94fde 100644 (file)
@@ -282,7 +282,7 @@ describe("Check Termlist", function () {
 describe("Show record", function () {
     var record_number = 1; // the Nth record in hit list
     it("show record author", function () {
-        var click = $("div#mkwsRecords div.record:nth-child(" + record_number + ") a").trigger("click");
+        var click = $("div.mkwsRecords div.record:nth-child(" + record_number + ") a").trigger("click");
         debug("show record click is success: " + click.length);
         expect(click.length).toBe(1);