X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=fe0e3458b91ed49dba06121842b74e21d9e38bdc;hb=a1857b32353c865b611eec9ee98ac532ff83dd3d;hp=9a05f530647580a5b9797f87d9343796e138bfe7;hpb=ce4945b7cc8721a6855e98a05fb1ea9a89a19f12;p=mkws-moved-to-github.git diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 9a05f53..fe0e345 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -676,7 +676,7 @@ describe("Check SortBy options", function () { var list = []; var terms = $("div.mkwsRecords > div.mkwsSummary > a"); for (var i = 0; i < terms.length; i++) { - var term = $(terms[i]).text(); + var term = $(terms[i]).text().trim(); list.push(term); // debug(prefix + "title: " + term); } @@ -728,15 +728,22 @@ describe("Check SortBy options", function () { }); }); -xdescribe("Check async widget discovery", function () { +describe("Check async widget discovery", function () { var $ = mkws.$; it("initialises a new widget", function() { - $("div.mkwsSearch").after('