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:
70d7a8f
)
indent
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 13 Jan 2014 15:30:30 +0000
(15:30 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 13 Jan 2014 15:30:30 +0000
(15:30 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
0571fc3
..
67e6f84
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-162,7
+162,6
@@
describe("Check Termlist", function () {
it("limit search to first author", function () {
var hits_all_targets = get_hit_counter();
var author_number = 2; // 2=first author
it("limit search to first author", function () {
var hits_all_targets = get_hit_counter();
var author_number = 2; // 2=first author
-
var author_name = $("div#mkwsFacetAuthors div.term:nth-child(" + author_number + ") a").text();
// do not click on author with numbers, e.g.: Bower, James M. Beeman, David, 1938-
if (author_name.match(/[0-9].+[0-9]/)) {
var author_name = $("div#mkwsFacetAuthors div.term:nth-child(" + author_number + ") a").text();
// do not click on author with numbers, e.g.: Bower, James M. Beeman, David, 1938-
if (author_name.match(/[0-9].+[0-9]/)) {
@@
-205,8
+204,8
@@
describe("Check Termlist", function () {
}
}, "Search for source in navi bar", 1000);
}
}, "Search for source in navi bar", 1000);
- // Note: it may happens that limited source search returns the same number of hits
- // as before. Thats not really an error, but unfortunate
+ // Note: it may happens that limited source search returns the same number of hits
+ // as before. Thats not really an error, but unfortunate
waitsFor(function () {
return get_hit_counter() <= hits_all_targets ? true : false;
}, "Limited source search for less than " + hits_all_targets + " hits", 5 * 1000);
waitsFor(function () {
return get_hit_counter() <= hits_all_targets ? true : false;
}, "Limited source search for less than " + hits_all_targets + " hits", 5 * 1000);