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 (from parent 1:
f976ea1
)
refactor "Show record"
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 30 Aug 2013 11:14:51 +0000
(13:14 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 30 Aug 2013 11:14:51 +0000
(13:14 +0200)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
ee096b4
..
7313287
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-114,13
+114,6
@@
describe("Check pazpar2 hit counter", function () {
});
describe("Check Termlist", function () {
});
describe("Check Termlist", function () {
- function show_record() {
- var click = $("div#mkwsRecords div.record:nth-child(3) :nth-child(2)").trigger("click");
- debug("show click is success: " + click.length);
- expect(click.length == 1).toBe(true);
- }
-
- // show_record();
it("found Termlist", function () {
var termlist = $("div#mkwsTermlists");
debug("Termlist success: " + termlist.length);
it("found Termlist", function () {
var termlist = $("div#mkwsTermlists");
debug("Termlist success: " + termlist.length);
@@
-179,9
+172,13
@@
describe("Check Termlist", function () {
expect(hits_all_targets).toBeGreaterThan(hits_single_target);
});
});
expect(hits_all_targets).toBeGreaterThan(hits_single_target);
});
});
+});
+describe("Show record", function () {
it("show record author", function () {
it("show record author", function () {
- show_record();
+ var click = $("div#mkwsRecords div.record:nth-child(3) :nth-child(2)").trigger("click");
+ debug("show click is success: " + click.length);
+ expect(click.length == 1).toBe(true);
});
});
});
});