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:
d863975
)
Address mkwsPrev and mkwsNext by class.
author
Mike Taylor
<mike@indexdata.com>
Wed, 12 Feb 2014 12:09:50 +0000
(12:09 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 12 Feb 2014 12:09:50 +0000
(12:09 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
4af6125
..
dcd11c1
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-84,8
+84,8
@@
describe("Check pazpar2 search", function () {
expect($("input#mkwsQuery").length).toBe(1);
expect($("input#mkwsButton").length).toBe(1);
expect($("input#mkwsQuery").length).toBe(1);
expect($("input#mkwsButton").length).toBe(1);
- expect($("#mkwsNext").length).not.toBe(1);
- expect($("#mkwsPrev").length).not.toBe(1);
+ expect($(".mkwsNext").length).not.toBe(1);
+ expect($(".mkwsPrev").length).not.toBe(1);
});
it("run search query", function () {
});
it("run search query", function () {
@@
-138,7
+138,7
@@
describe("Check pazpar2 navigation", function () {
runs(function () {
// click next/prev after N seconds
runs(function () {
// click next/prev after N seconds
- my_click("#mkwsNext", 0);
+ my_click(".mkwsNext", 0);
});
waitsFor(function () {
});
waitsFor(function () {
@@
-147,8
+147,8
@@
describe("Check pazpar2 navigation", function () {
runs(function () {
// click next/prev after N seconds
runs(function () {
// click next/prev after N seconds
- my_click("#mkwsNext", 0);
- my_click("#mkwsPrev", 0.2);
+ my_click(".mkwsNext", 0);
+ my_click(".mkwsPrev", 0.2);
});
});
});
});
});
});