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:
2c1020a
)
check translations, part record details, MKWS-365
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 14:18:34 +0000
(14:18 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 14:18:34 +0000
(14:18 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
6db773e
..
3b185cb
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-855,7
+855,15
@@
describe("Check translations", function () {
expect($(".mkws-prev").text()).toBe(M("Prev"));
});
+ it("record details", function () {
+ var list = $("div.mkws-details table > tbody > tr > th");
+ var text = ["Title", "Date", "Author", "Subject", "Locations"];
+ expect(list.length).toBe(text.length);
+ for (var i = 0; i < text.length; i++) {
+ expect($(list[i]).text()).toBe(M(text[i]));
+ }
+ });
});
xdescribe("Check async widget discovery", function () {