@@ -56,6 +56,7 @@ const shadowBlockActionsViaKeyboard = [
5656 { 'text' : 'Disable Block' } ,
5757 { 'text' : 'Help' } ,
5858 { 'text' : 'Move Block M' } ,
59+ { 'text' : 'Edit Block contents Right' } ,
5960 { 'disabled' : true , 'text' : isDarwin ? 'Cut ⌘ X' : 'Cut Ctrl + X' } ,
6061 { 'text' : isDarwin ? 'Copy ⌘ C' : 'Copy Ctrl + C' } ,
6162 { 'disabled' : true , 'text' : isDarwin ? 'Paste ⌘ V' : 'Paste Ctrl + V' } ,
@@ -80,7 +81,7 @@ const workspaceActionsViaKeyboard = [
8081 { 'text' : 'Clean up Blocks' } ,
8182 { 'text' : 'Collapse Blocks' } ,
8283 { 'disabled' : true , 'text' : 'Expand Blocks' } ,
83- { 'text' : 'Delete 4 Blocks' } ,
84+ { 'text' : 'Delete 14 Blocks' } ,
8485 { 'text' : 'Add Comment' } ,
8586 { 'disabled' : true , 'text' : isDarwin ? 'Paste ⌘ V' : 'Paste Ctrl + V' } ,
8687] ;
@@ -96,7 +97,7 @@ suite('Menus test', function () {
9697 // seconds. Allow 30s just in case.
9798 this . timeout ( 30000 ) ;
9899
99- this . browser = await testSetup ( testFileLocations . BASE ) ;
100+ this . browser = await testSetup ( testFileLocations . MORE_BLOCKS ) ;
100101 await this . browser . pause ( PAUSE_TIME ) ;
101102 } ) ;
102103
@@ -124,7 +125,7 @@ suite('Menus test', function () {
124125
125126 test ( 'Shadow block menu via keyboard displays expected items' , async function ( ) {
126127 await tabNavigateToWorkspace ( this . browser ) ;
127- await focusOnBlock ( this . browser , 'draw_circle_1 ' ) ;
128+ await focusOnBlock ( this . browser , 'text_print_1 ' ) ;
128129 await this . browser . keys ( Key . ArrowRight ) ;
129130 await this . browser . keys ( [ Key . Ctrl , Key . Return ] ) ;
130131 await this . browser . pause ( PAUSE_TIME ) ;
0 commit comments