##// END OF EJS Templates
saving notebook does not run cell....
Bussonnier Matthias -
Show More
@@ -66,7 +66,7 casper.notebook_test(function () {
66 IPython.notebook.select(0);
66 IPython.notebook.select(0);
67 cell.clear_output();
67 cell.clear_output();
68 cell.set_text('a=13; print(a)');
68 cell.set_text('a=13; print(a)');
69 $("button[data-jupyter-action='ipython.save-notebook']")[0].click()
69 $("button[data-jupyter-action='ipython.run-select-next']")[0].click()
70 });
70 });
71
71
72 this.wait_for_output(0);
72 this.wait_for_output(0);
@@ -29,7 +29,7 casper.notebook_test(function () {
29 $('#cell_type').val('markdown').change();
29 $('#cell_type').val('markdown').change();
30 var cell = IPython.notebook.get_selected_cell();
30 var cell = IPython.notebook.get_selected_cell();
31 cell.set_text('*Baz*');
31 cell.set_text('*Baz*');
32 $("button[data-jupyter-action='ipython.save-notebook']")[0].click();
32 $("button[data-jupyter-action='ipython.run-select-next']")[0].click();
33 return cell.get_rendered();
33 return cell.get_rendered();
34 });
34 });
35 this.test.assertEquals(output.trim(), '<p><em>Baz</em></p>', 'Markdown toolbar items work.');
35 this.test.assertEquals(output.trim(), '<p><em>Baz</em></p>', 'Markdown toolbar items work.');
General Comments 0
You need to be logged in to leave comments. Login now