Timeout is an option of `waitFor`, not `then`

Matthias Bussonnier 10 years ago
parent 6f5e7cae97
commit a0929ab8c1

@ -166,11 +166,11 @@ casper.wait_for_output = function (cell_num, out_num) {
},
// pass parameter from the test suite js to the browser code js
{c : cell_num, o : out_num});
},
function then() { },
function timeout() {
this.echo("wait_for_output timed out!");
});
},
function then() { },
function timeout() {
this.echo("wait_for_output timed out!");
});
};

Loading…
Cancel
Save