From: Wolfram Schneider Date: Fri, 13 Dec 2013 15:14:49 +0000 (+0000) Subject: fix xpath again X-Git-Tag: 0.9.1~51^2~5 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=f563f68039cc6b1fbe4a4ef18483553ae5eaebc3;p=mkws-moved-to-github.git fix xpath again --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 7c25310..c3f8fba 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -207,7 +207,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 + ") :nth-child(1)").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);