From 6646f29b75d687d2d09597e9caec10fb4617e46d Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 28 Jan 2015 14:44:14 +0000 Subject: [PATCH] compare only the first 3 elements in records details (title, date, author) --- test/spec/mkws-pazpar2.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 02502e0..e9aa610 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -851,8 +851,11 @@ describe("Check translations", function () { }); it("record details", function () { + var text = ["Title", "Date", "Author"]; // , "Subject", "Locations"]; var list = $("div.mkws-details table > tbody > tr > th"); - var text = ["Title", "Date", "Author", "Subject", "Locations"]; + + // compare only the first 3 elements + list = list.splice(0, text.length) check_translation(list, text); }); -- 1.7.10.4