if (RegExp.$1) {
hits = parseInt(RegExp.$1);
+ if (hits <= 0) {
+ debug("Oooops in get_hit_counter: " + RegExp.$1);
+ }
expect(hits).toBeGreaterThan(0);
}
waitsFor(function () {
var hits_single_target = get_hit_counter();
return hits_single_target > 0 && hits_single_target < hits_all_targets ? true : false;
- }, "Limited author search for less than " + hits_all_targets + " hits", 6 * jasmine_config.second);
+ }, "Limited author search for less than " + hits_all_targets + " hits", 4.5 * jasmine_config.second);
runs(function () {
var hits_single_target = get_hit_counter();
expect(hits_all_targets).toBeGreaterThan(hits_single_target);
});
});
+});
+describe("Check active clients author", function () {
it("check for active clients after limited author search", function () {
waitsFor(function () {
var clients = $("div#mkwsStat span.clients");