From f563f68039cc6b1fbe4a4ef18483553ae5eaebc3 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 13 Dec 2013 15:14:49 +0000 Subject: [PATCH] fix xpath again --- 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 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); -- 1.7.10.4