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 () {
runs(function () {
// click next/prev after N seconds
- my_click("#mkwsNext", 0);
+ my_click(".mkwsNext", 0);
});
waitsFor(function () {
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);
});
});
});