Show More
@@ -12,10 +12,9 b' casper.notebook_test(function () {' | |||
|
12 | 12 | } |
|
13 | 13 | |
|
14 | 14 | // Simulate the "up arrow" and "down arrow" keys. |
|
15 | var up_press = $.Event('keydown', {which: $.ui.keyCode.UP}); | |
|
16 | $(document).trigger(up_press); | |
|
17 | var down_press = $.Event('keydown', {which: $.ui.keyCode.DOWN}); | |
|
18 | $(document).trigger(down_press); | |
|
15 | // | |
|
16 | IPython.utils.press_up(); | |
|
17 | IPython.utils.press_down(); | |
|
19 | 18 | return true; |
|
20 | 19 | }); |
|
21 | 20 | this.test.assertTrue(result, 'Up/down arrow okay in empty notebook.'); |
General Comments 0
You need to be logged in to leave comments.
Login now