##// END OF EJS Templates
Print cell output
Jonathan Frederic -
Show More
@@ -15,6 +15,7 b' casper.notebook_test(function () {'
15 'print("Success")\n');
15 'print("Success")\n');
16 this.execute_cell_then(container_index, function(index){
16 this.execute_cell_then(container_index, function(index){
17
17
18 print(this.get_output_cell(index).text);
18 this.test.assert(this.get_output_cell(index).text == 'Success\n',
19 this.test.assert(this.get_output_cell(index).text == 'Success\n',
19 'Create container cell executed with correct output.');
20 'Create container cell executed with correct output.');
20
21
@@ -18,7 +18,7 b' casper.notebook_test(function () {'
18 'multicontainer.selected_index = 0\n' +
18 'multicontainer.selected_index = 0\n' +
19 'print("Success")\n');
19 'print("Success")\n');
20 this.execute_cell_then(multicontainer1_index, function(index){
20 this.execute_cell_then(multicontainer1_index, function(index){
21
21 print(this.get_output_cell(index).text);
22 this.test.assert(this.get_output_cell(index).text == 'Success\n',
22 this.test.assert(this.get_output_cell(index).text == 'Success\n',
23 'Create multicontainer cell executed with correct output. (1)');
23 'Create multicontainer cell executed with correct output. (1)');
24
24
General Comments 0
You need to be logged in to leave comments. Login now