projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix CSS path typo which failed in node.js
[mkws-moved-to-github.git]
/
test
/
spec
/
mkws-pazpar2.js
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
aba33c0
..
e01f5fe
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-580,6
+580,10
@@
describe("Check translations", function () {
"Location": "Ort",
"Records": "Datensätze",
"Targets": "Datenbanken",
"Location": "Ort",
"Records": "Datensätze",
"Targets": "Datenbanken",
+ "relevance": "Relevanz",
+ "title": "Titel",
+ "newest": "Neueste",
+ "oldest": "Älteste",
"dummy": "dummy"
},
"dummy": "dummy"
},
@@
-612,6
+616,9
@@
describe("Check translations", function () {
expect("Sorter efter").toBe(M("Sort by"));
expect("Sorter efter").toBe($(list[0]).text());
}
expect("Sorter efter").toBe(M("Sort by"));
expect("Sorter efter").toBe($(list[0]).text());
}
+
+
+ expect($("select.mkws-sort > option[selected=selected]").text()).toBe(M("relevance"));
});
xit("facets sidebar", function () {
});
xit("facets sidebar", function () {
@@
-790,7
+797,7
@@
describe("Check per page options", function () {
describe("Check SortBy options", function () {
var $ = mkws.$;
describe("Check SortBy options", function () {
var $ = mkws.$;
- it("show per page", function () {
+ it("sort by title", function () {
if (!jasmine_config.check_sortby) {
debug("ignore check for sort by");
return;
if (!jasmine_config.check_sortby) {
debug("ignore check for sort by");
return;