|
|
|
|
@ -29,7 +29,8 @@ casper.notebook_test(function () {
|
|
|
|
|
$('#cell_type').val('markdown').change();
|
|
|
|
|
var cell = IPython.notebook.get_selected_cell();
|
|
|
|
|
cell.set_text('*Baz*');
|
|
|
|
|
$('#maintoolbar .btn-group:nth(4) .btn:first').click()
|
|
|
|
|
// 'run button' is the first of the forth group in default config.
|
|
|
|
|
$('#maintoolbar .btn-group:nth(4) .btn:first').click();
|
|
|
|
|
return cell.get_rendered();
|
|
|
|
|
});
|
|
|
|
|
this.test.assertEquals(output.trim(), '<p><em>Baz</em></p>', 'Markdown toolbar items work.');
|
|
|
|
|
|