+ it("check for single active client", function () {
+ waitsFor(function () {
+ var clients = $("div#mkwsStat span.clients");
+ //debug("clients: " + clients.text());
+
+ return clients.length == 1 && clients.text().match("/1$");
+ }, "wait for Active clients: x/1", 5 * jasmine_config.second);
+
+ runs(function () {
+ var clients = $("div#mkwsStat span.clients");
+ debug("span.clients: " + clients.text());
+ expect(clients.text()).toMatch("/1$");
+ });
+ });
+