From: Wolfram Schneider Date: Thu, 21 May 2015 08:57:30 +0000 (+0000) Subject: IE11 CSS parsing in regression tests, MKWS-386 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=4d0391438640a5fa35047a6ed7af43a5e7b72bcc;p=mkws-moved-to-github.git IE11 CSS parsing in regression tests, MKWS-386 --- diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 0f19add..769c748 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -673,8 +673,9 @@ describe("Check translations", function () { check_translation(list, text); - expect($(".mkws-next").text()).toBe(M("Next")); - expect($(".mkws-prev").text()).toBe(M("Prev")); + expect($(".mkws-next").text().match(M("Next"))).not.toBeNull(); + expect($(".mkws-next").text().match(M("NextXXX"))).toBeNull(); + expect($(".mkws-prev").text().match(M("Prev"))).not.toBeNull(); }); it("record details", function () {