##// END OF EJS Templates
fix stop-on-error test
Min RK -
Show More
@@ -104,10 +104,12 b' casper.notebook_test(function () {'
104 cell1.execute();
104 cell1.execute();
105 });
105 });
106
106
107 this.wait_for_output(1);
107 this.wait_for_output(0);
108
108
109 this.then(function () {
109 this.then(function () {
110 var result = this.get_output_cell(1);
110 var outputs = this.evaluate(function() {
111 this.test.assertNotEquals(result.text, '14\n', 'cell execute, stop on error');
111 return IPython.notebook.get_cell(1).output_area.outputs;
112 })
113 this.test.assertEquals(outputs.length, 0, 'cell execute, stop on error (default)');
112 });
114 });
113 });
115 });
General Comments 0
You need to be logged in to leave comments. Login now