##// END OF EJS Templates
make the JS test fail
Paul Ivanov -
Show More
@@ -12,9 +12,9 b' casper.notebook_test(function () {'
12 12
13 13 this.evaluate(function () {
14 14 var cell = IPython.notebook.get_cell(0);
15 var json = cell.toJSON()
16 json.prompt_number = "<script> alert('hello from input prompts !')</script>"
17 cell.fromJSON(j)
15 var json = cell.toJSON();
16 json.prompt_number = "<script> alert('hello from input prompts !')</script>";
17 cell.fromJSON(json);
18 18 });
19 19
20 20 this.then(function () {
General Comments 0
You need to be logged in to leave comments. Login now