mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-07 13:07:22 +08:00
less convoluted way of grabbing output
This commit is contained in:
parent
6d7758271e
commit
b75cd967d7
@ -13,7 +13,7 @@ casper.notebookTest(function () {
|
||||
this.then(function () {
|
||||
var result = this.evaluate(function () {
|
||||
var cell = IPython.notebook.get_cell(0);
|
||||
var output = cell.element.find('.output_area').find('pre').html();
|
||||
var output = cell.output_area.outputs[0].text;
|
||||
return output;
|
||||
})
|
||||
this.test.assertEquals(result, '10\n', 'stdout output matches')
|
||||
|
Loading…
Reference in New Issue
Block a user