minor js test fix

This commit is contained in:
Paul Ivanov 2014-01-13 18:53:54 -08:00
parent 9db5a0d1e4
commit 03eedd52e2

View File

@ -44,6 +44,8 @@ function check_output_area(output_type, keys) {
var cell = IPython.notebook.get_cell(1).output_area.fromJSON(json);
return json;
});
// The evaluate call above happens asyncrhonously: wait for cell[1] to have output
this.wait_for_output(1);
var result = this.get_output_cell(0);
var result2 = this.get_output_cell(1);
this.test.assertEquals(result.output_type, output_type,