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:
32c02dc
)
Facet-related elements are identified by class rather than ID.
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 10 Feb 2014 18:00:50 +0000
(18:00 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 10 Feb 2014 18:00:50 +0000
(18:00 +0000)
I was wondering why the tests often failed and didn't ignored the wikipedia
targets. This complete
17f6e251e4cceb61561611ebbf3c2f34ac3142d7
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
7900190
..
9a95044
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-247,7
+247,7
@@
describe("Check Termlist", function () {
var hits_all_targets = get_hit_counter();
var source_number = 2; // 2=first source
// do not click on wikipedia link - no author or subject facets possible
- var terms = $("div#mkwsFacetSources div.term a");
+ var terms = $("div.mkwsFacetSources div.term a");
for (var i = 0; i < terms.length; i++) {
var term = $(terms[i]).text();
if (term.match(/wikipedia/i)) {