projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc4efce
)
match the end of 'Active clients' message
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 13 Dec 2013 15:24:42 +0000
(15:24 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 13 Dec 2013 15:24:42 +0000
(15:24 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
cce2bb7
..
77d9ba3
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-282,19
+282,21
@@
describe("Check status client counter", function () {
it("check status clients", function () {
waitsFor(function () {
var clients = $("div#mkwsStat span.clients");
it("check status clients", function () {
waitsFor(function () {
var clients = $("div#mkwsStat span.clients");
- if (clients.length == 1 && clients.text() == "0/1") {
+ if (clients.length == 1 && clients.text().match("0/1$")) {
return true;
} else {
return false;
}
return true;
} else {
return false;
}
- }, "wait for status", 4 * 1000);
+ }, "wait for Active clients: 0/1", 4 * 1000);
+ /*
runs(function () {
var clients = $("div#mkwsStat span.clients");
debug("span.clients: " + clients.text());
expect(clients.text()).toEqual("0/1");
});
runs(function () {
var clients = $("div#mkwsStat span.clients");
debug("span.clients: " + clients.text());
expect(clients.text()).toEqual("0/1");
});
+ */
});
});