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:
9acfd5f
)
working show record link
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 23 Aug 2013 15:42:20 +0000
(17:42 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 23 Aug 2013 15:42:20 +0000
(17:42 +0200)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
c1534b3
..
371cd6d
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-40,14
+40,15
@@
describe("Check pazpar2 navigation", function () {
debug("next click is success: " + click.length);
expect(click.length == 1).toBe(true);
debug("next click is success: " + click.length);
expect(click.length == 1).toBe(true);
+
}, time * 1000);
}
runs(function () {
// click next/prev after N seconds
my_click("#mkwsNext", 7);
}, time * 1000);
}
runs(function () {
// click next/prev after N seconds
my_click("#mkwsNext", 7);
- my_click("#mkwsNext", 9);
- my_click("#mkwsPrev", 9.5);
+ my_click("#mkwsNext", 8);
+ my_click("#mkwsPrev", 9);
});
});
});
});
});
});
@@
-112,8
+113,14
@@
describe("Check pazpar2 hit counter", function () {
});
});
});
});
+ it("Show record", function () {
+ var click = $("div#mkwsRecords div:first-child :nth-child(2)").trigger("click");
+ debug("show click is success: " + click.length);
+ expect(click.length == 1).toBe(true);
+ });
+
it("Final success message in search input field", function () {
it("Final success message in search input field", function () {
- $("input#mkwsQuery").val("Success: jasmine test is done");
+ $("input#mkwsQuery").val("jasmine test is done");
expect($("input#mkwsQuery").val()).toMatch(/done/);
});
});
expect($("input#mkwsQuery").val()).toMatch(/done/);
});
});