IE11 CSS parsing in regression tests, MKWS-386
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 21 May 2015 08:57:30 +0000 (08:57 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 21 May 2015 08:57:30 +0000 (08:57 +0000)
test/spec/mkws-pazpar2.js

index 0f19add..769c748 100644 (file)
@@ -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 () {