Show More
@@ -15,8 +15,13 b' casper.notebook_test(function () {' | |||
|
15 | 15 | this.execute_cell_then(index); |
|
16 | 16 | |
|
17 | 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 | 21 | this.click_cell_editor(1); |
|
19 | 22 | this.click_cell_editor(0); |
|
23 | ||
|
24 | this.validate_notebook_state('initial state', 'edit', 0); | |
|
20 | 25 | this.trigger_keydown('esc'); |
|
21 | 26 | this.validate_notebook_state('esc', 'command', 0); |
|
22 | 27 | this.trigger_keydown('down'); |
General Comments 0
You need to be logged in to leave comments.
Login now