@@ -98,8 +98,6 @@ suite('Move start tests', function () {
9898 // When a move of a value block begins, it is expected that block
9999 // and all blocks connected to its inputs will be moved - i.e., that
100100 // a stack heal (really: unary operator chain heal) will NOT occur.
101- //
102- // Also tests initiating a move via the context menu.
103101 test ( 'Start moving value blocks' , async function ( ) {
104102 for ( let i = 1 ; i < 7 ; i ++ ) {
105103 // Navigate to statement_<i>.
@@ -122,20 +120,8 @@ suite('Move start tests', function () {
122120 'selected block should have child value block' ,
123121 ) ;
124122
125- // Start move using context menu (using keyboard nav).
126- await sendKeyAndWait ( this . browser , [ Key . Ctrl , Key . Return ] ) ;
127-
128- // Find how many times to press the down arrow
129- const index = ( await contextMenuItems ( this . browser ) ) . findIndex ( ( { text} ) =>
130- text . includes ( 'Move' ) ,
131- ) ;
132- chai . assert . isAbove (
133- index ,
134- - 1 ,
135- 'expected Move to appear in context menu items' ,
136- ) ;
137- await keyDown ( this . browser , index ) ;
138- await sendKeyAndWait ( this . browser , Key . Return ) ;
123+ // Start move
124+ await sendKeyAndWait ( this . browser , 'm' ) ;
139125
140126 // Check that the moving block has nothing connected it its
141127 // next/previous connections, and same thing connected to value
0 commit comments