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:
7c1b5f0
)
check translations, part switch links, MKWS-365
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 13:45:14 +0000
(13:45 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 13:45:14 +0000
(13:45 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
f0423dd
..
e24a1bd
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-787,9
+787,19
@@
describe("Check translations", function () {
*/
it("search button", function () {
+ var list = $(".mkws-switch > a")
+
+ expect(list.length).toBe(2);
+ expect($(list[0]).text()).toBe(M("Records"));
+ expect($(list[1]).text()).toBe(M("Targets"));
+ });
+
+ it("switch", function () {
+ var list = $(".mkws-pager-desc > span");
expect($("form > input[type=submit]").attr("value")).toBe(M("Search"));
});
+
it("ranking form", function () {
var list = $(".mkws-ranking > form > span");