describe("Check active clients author", function () {
it("check for active clients after limited author search", function () {
waitsFor(function () {
describe("Check active clients author", function () {
it("check for active clients after limited author search", function () {
waitsFor(function () {
// debug("clients: " + clients.text());
return clients.length == 1 && clients.text().match("/[1-9]+[0-9]*$");
}, "wait for Active clients: x/y", 5.5 * jasmine_config.second);
runs(function () {
// debug("clients: " + clients.text());
return clients.length == 1 && clients.text().match("/[1-9]+[0-9]*$");
}, "wait for Active clients: x/y", 5.5 * jasmine_config.second);
runs(function () {
expect(clients.text()).toMatch("/[1-9]+[0-9]*$");
// exact match of active clients (e.g. a SP misconfiguration)
expect(clients.text()).toMatch("/[1-9]+[0-9]*$");
// exact match of active clients (e.g. a SP misconfiguration)
//debug("clients: " + clients.text());
return clients.length == 1 && clients.text().match("/1$");
}, "wait for Active clients: x/1", 5 * jasmine_config.second);
runs(function () {
//debug("clients: " + clients.text());
return clients.length == 1 && clients.text().match("/1$");
}, "wait for Active clients: x/1", 5 * jasmine_config.second);
runs(function () {