##// END OF EJS Templates
clear output in-between test runs
Paul Ivanov -
Show More
@@ -69,13 +69,16 b' casper.notebook_test(function () {'
69 // now ensure that we can pass the same metadata dict to plain old display()
69 // now ensure that we can pass the same metadata dict to plain old display()
70 this.thenEvaluate(function () {
70 this.thenEvaluate(function () {
71 var cell = IPython.notebook.get_cell(0);
71 var cell = IPython.notebook.get_cell(0);
72 cell.clear_output();
72 cell.set_text( "from IPython.display import display\n"
73 cell.set_text( "from IPython.display import display\n"
73 + "display(SVG(s1), metadata=dict(isolated=True))\n"
74 + "display(SVG(s1), metadata=dict(isolated=True))\n"
74 + "display(SVG(s2), metadata=dict(isolated=True))\n"
75 + "display(SVG(s2), metadata=dict(isolated=True))\n"
75 );
76 );
76 cell.execute();
77 cell.execute();
77 });
78 });
78
79
80 this.wait_for_output(0);
81
79 // same test as original
82 // same test as original
80 this.then(function () {
83 this.then(function () {
81 var colors = this.evaluate(function () {
84 var colors = this.evaluate(function () {
General Comments 0
You need to be logged in to leave comments. Login now