diff --git a/IPython/html/tests/util.js b/IPython/html/tests/util.js index 3753fbd9c..0f89b00f6 100644 --- a/IPython/html/tests/util.js +++ b/IPython/html/tests/util.js @@ -13,6 +13,7 @@ casper.open_new_notebook = function () { var baseUrl = this.get_notebook_server(); this.start(baseUrl); this.waitFor(this.page_loaded); + this.waitForSelector('#kernel-python2 a, #kernel-python3 a'); this.thenClick('#kernel-python2 a, #kernel-python3 a'); this.waitForPopup('');