mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
more informative message on server timeout
This commit is contained in:
parent
3725218069
commit
0ea7d1e394
@ -51,6 +51,12 @@ casper.notebookTest = function(test) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
casper.options.waitTimeout=5000
|
||||||
|
casper.on('waitFor.timeout', function onWaitForTimeout(timeout) {
|
||||||
|
this.echo("Timeout for " + casper.getNotebookServer());
|
||||||
|
this.echo("Is the notebook server running?");
|
||||||
|
});
|
||||||
|
|
||||||
// Pass `console.log` calls from page JS to casper.
|
// Pass `console.log` calls from page JS to casper.
|
||||||
casper.printLog = function () {
|
casper.printLog = function () {
|
||||||
this.on('remote.message', function(msg) {
|
this.on('remote.message', function(msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user