From 6e86c7645bae68c7c76660f954787c34f84ba079 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Mon, 22 Dec 2014 12:35:47 -0800 Subject: [PATCH] Fix JS test new button selector --- IPython/html/tests/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IPython/html/tests/util.js b/IPython/html/tests/util.js index 61f0a23c0..7c0df4ca0 100644 --- a/IPython/html/tests/util.js +++ b/IPython/html/tests/util.js @@ -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');});