the "Source" delimiter message may come after "author"
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 12 Dec 2013 17:12:11 +0000 (17:12 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 12 Dec 2013 17:12:11 +0000 (17:12 +0000)
test/spec/mkws-pazpar2.js

index 06447f6..e0b885e 100644 (file)
@@ -185,7 +185,7 @@ describe("Check Termlist", function () {
         expect(click.length).toBe(1);
 
         waitsFor(function () {
-            if ($("div#mkwsNavi").length && $("div#mkwsNavi").text().match(/^Source/)) {
+            if ($("div#mkwsNavi").length && $("div#mkwsNavi").text().match(/Source: /)) {
                 return true;
             } else {
                 return false;