waitsFor(function () {
return $("div#mkwsPager div:nth-child(2) a").length >= 2 ? true : false;
- }, "Expect next link 2", 5 * 1000);
+ }, "Expect next link 2", 10 * 1000);
runs(function () {
// click next/prev after N seconds
waitsFor(function () {
hits = get_hit_counter();
- return hits >= expected_hits;
+ return hits > expected_hits;
}, "Expect " + expected_hits + " hits", max_time * 1000);