diff --git a/IPython/html/tests/notebook/execute_code.js b/IPython/html/tests/notebook/execute_code.js index f0d22f8..4377a7c 100644 --- a/IPython/html/tests/notebook/execute_code.js +++ b/IPython/html/tests/notebook/execute_code.js @@ -104,10 +104,12 @@ casper.notebook_test(function () { cell1.execute(); }); - this.wait_for_output(1); + this.wait_for_output(0); this.then(function () { - var result = this.get_output_cell(1); - this.test.assertNotEquals(result.text, '14\n', 'cell execute, stop on error'); + var outputs = this.evaluate(function() { + return IPython.notebook.get_cell(1).output_area.outputs; + }) + this.test.assertEquals(outputs.length, 0, 'cell execute, stop on error (default)'); }); });