Skip to content

Commit

Permalink
Fix failing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Dec 19, 2023
1 parent f9e5b2b commit fe8073c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nbclassic/tests/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ casper.open_new_notebook = function () {

this.waitForPopup('');

this.withPopup('', function () {this.waitForSelector('.CodeMirror-code');});
// Wait a bit for script to redirect to the notebook URL
this.wait(1000);
this.then(function () {
console.log('Opening a new notebook under URL: ' + this.popups[0].url);
this.open(this.popups[0].url);
});
this.waitFor(this.page_loaded);
this.waitForSelector('.CodeMirror-code');

// Hook the log and error methods of the console, forcing them to
// serialize their arguments before printing. This allows the
Expand Down

0 comments on commit fe8073c

Please sign in to comment.