Show More
@@ -26,13 +26,14 casper.notebook_test(function () { | |||
|
26 | 26 | |
|
27 | 27 | // run cell 0 again, now interrupting using keyboard shortcut |
|
28 | 28 | this.thenEvaluate(function () { |
|
29 | var cell = IPython.notebook.get_cell(0); | |
|
29 | 30 | cell.clear_output(); |
|
30 | 31 | cell.execute(); |
|
31 | 32 | }); |
|
32 | 33 | |
|
33 |
// interrupt using |
|
|
34 | // interrupt using ii keyboard shortcut | |
|
34 | 35 | this.then(function(){ |
|
35 | this.trigger_keydown('i'); | |
|
36 | this.trigger_keydown('esc', 'i', 'i'); | |
|
36 | 37 | }); |
|
37 | 38 | |
|
38 | 39 | this.wait_for_output(0); |
@@ -21,7 +21,6 casper.notebook_test(function () { | |||
|
21 | 21 | "display_svg(SVG(s2), metadata=dict(isolated=True))\n" |
|
22 | 22 | ); |
|
23 | 23 | cell.execute(); |
|
24 | console.log("hello" ); | |
|
25 | 24 | }); |
|
26 | 25 | |
|
27 | 26 | this.then(function() { |
@@ -30,7 +29,6 casper.notebook_test(function () { | |||
|
30 | 29 | this.echo(this.currentUrl); |
|
31 | 30 | this.evaluate(function (n) { |
|
32 | 31 | IPython.notebook.rename(n); |
|
33 | console.write("hello" + n); | |
|
34 | 32 | IPython.notebook.save_notebook(); |
|
35 | 33 | }, {n : fname}); |
|
36 | 34 | this.echo(this.currentUrl); |
@@ -40,9 +38,6 casper.notebook_test(function () { | |||
|
40 | 38 | |
|
41 | 39 | url = this.evaluate(function() { |
|
42 | 40 | IPython.notebook.rename("foo"); |
|
43 | //$("span#notebook_name")[0].click(); | |
|
44 | //$("input")[0].value = "please-work"; | |
|
45 | //$(".btn-primary")[0].click(); | |
|
46 | 41 | return document.location.href; |
|
47 | 42 | }); |
|
48 | 43 | this.echo("renamed" + url); |
General Comments 0
You need to be logged in to leave comments.
Login now