Show More
@@ -15,8 +15,13 b' casper.notebook_test(function () {' | |||||
15 | this.execute_cell_then(index); |
|
15 | this.execute_cell_then(index); | |
16 |
|
16 | |||
17 | this.then(function () { |
|
17 | this.then(function () { | |
|
18 | // When running in xvfb, the Slimer window doesn't always have focus | |||
|
19 | // immediately. By clicking on a new element on the page we ccan force | |||
|
20 | // it to gain focus. | |||
18 | this.click_cell_editor(1); |
|
21 | this.click_cell_editor(1); | |
19 | this.click_cell_editor(0); |
|
22 | this.click_cell_editor(0); | |
|
23 | ||||
|
24 | this.validate_notebook_state('initial state', 'edit', 0); | |||
20 | this.trigger_keydown('esc'); |
|
25 | this.trigger_keydown('esc'); | |
21 | this.validate_notebook_state('esc', 'command', 0); |
|
26 | this.validate_notebook_state('esc', 'command', 0); | |
22 | this.trigger_keydown('down'); |
|
27 | this.trigger_keydown('down'); |
General Comments 0
You need to be logged in to leave comments.
Login now