File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import * as chai from 'chai';
99import { Key } from 'webdriverio' ;
1010import {
1111 sendKeyAndWait ,
12+ keyUp ,
1213 keyDown ,
1314 keyRight ,
1415 PAUSE_TIME ,
@@ -85,7 +86,10 @@ suite('Scrolling into view', function () {
8586 // Insert and confirm the test block which should be scrolled into view.
8687 await sendKeyAndWait ( this . browser , 't' ) ;
8788 await keyRight ( this . browser ) ;
88- await sendKeyAndWait ( this . browser , Key . Enter , 2 ) ;
89+ await sendKeyAndWait ( this . browser , Key . Enter ) ;
90+ await keyDown ( this . browser ) ;
91+ await keyUp ( this . browser ) ;
92+ await sendKeyAndWait ( this . browser , Key . Enter ) ;
8993 const focusedNodeId2 = await this . browser . execute ( ( ) => {
9094 return Blockly . getFocusManager ( ) . getFocusedNode ( ) ?. getFocusableElement ( ) ?. id ;
9195 } ) ;
You can’t perform that action at this time.
0 commit comments