Fix JS test new button selector

This commit is contained in:
Jonathan Frederic 2014-12-22 12:35:47 -08:00
parent 9e3b18605a
commit 6e86c7645b

View File

@ -13,7 +13,8 @@ casper.open_new_notebook = function () {
var baseUrl = this.get_notebook_server();
this.start(baseUrl);
this.waitFor(this.page_loaded);
this.thenClick('button#new_notebook');
this.thenClick('#kernel-python2 a, #kernel-python3 a');
this.waitForPopup('');
this.withPopup('', function () {this.waitForSelector('.CodeMirror-code');});