waitsFor(function () {
hits = get_hit_counter();
- return hits >= expected_hits;
+ return hits > expected_hits;
}, "Expect " + expected_hits + " hits", max_time * 1000);
// now the target table must be visible
expect($("div#mkwsBytarget").is(":visible")).toBe(true);
- expect($("div#mkwsResults").is(":visible")).toBe(false);
+ expect($("div#mkwsRecords").is(":visible")).toBe(false);
// wait a half second, to show the target view
var time = (new Date).getTime();
// now the target table must be visible
expect($("div#mkwsBytarget").is(":visible")).toBe(false);
- expect($("div#mkwsResults").is(":visible")).toBe(true);
+ expect($("div#mkwsRecords").is(":visible")).toBe(true);
});
});