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

index 769c748..f486ae1 100644 (file)
@@ -575,7 +575,7 @@ describe("Check translations", function () {
         expect(list.length).toBe(text.length);
 
         for (var i = 0; i < text.length; i++) {
-            expect($(list[i]).text()).toBe(M(text[i]));
+            expect($(list[i]).text().match(M(text[i]))).not.toBeNull();
         }
     }