Show More
@@ -37,12 +37,14 b' casper.notebook_test(function () {' | |||||
37 | this.validate_notebook_state('click cell 3', 'edit', 3); |
|
37 | this.validate_notebook_state('click cell 3', 'edit', 3); | |
38 | this.trigger_keydown('down'); |
|
38 | this.trigger_keydown('down'); | |
39 | this.validate_notebook_state('down at end of notebook', 'edit', 3); |
|
39 | this.validate_notebook_state('down at end of notebook', 'edit', 3); | |
|
40 | // cursor | |||
40 | this.trigger_keydown('up'); |
|
41 | this.trigger_keydown('up'); | |
41 | this.validate_notebook_state('up', 'edit', 2); |
|
42 | this.validate_notebook_state('up', 'edit', 2); | |
42 | this.click_cell_editor(0); |
|
43 | this.click_cell_editor(0); | |
43 | this.validate_notebook_state('click 0', 'edit', 0); |
|
44 | this.validate_notebook_state('click 0', 'edit', 0); | |
44 | this.trigger_keydown('up'); |
|
45 | this.trigger_keydown('up'); | |
45 | this.validate_notebook_state('up at top of notebook', 'edit', 0); |
|
46 | this.validate_notebook_state('up at top of notebook', 'edit', 0); | |
|
47 | // cursor | |||
46 | this.trigger_keydown('down'); |
|
48 | this.trigger_keydown('down'); | |
47 | this.validate_notebook_state('down', 'edit', 1); |
|
49 | this.validate_notebook_state('down', 'edit', 1); | |
48 | }); |
|
50 | }); |
General Comments 0
You need to be logged in to leave comments.
Login now