diff --git a/packages/block-editor/src/hooks/block-rename-ui.js b/packages/block-editor/src/hooks/block-rename-ui.js index 8b4f86756b6c5..189090668cbb4 100644 --- a/packages/block-editor/src/hooks/block-rename-ui.js +++ b/packages/block-editor/src/hooks/block-rename-ui.js @@ -63,7 +63,7 @@ function RenameModal( { blockName, originalBlockName, onClose, onSave } ) { return ( { ); const renameModal = page.getByRole( 'dialog', { - name: 'Rename block', + name: 'Rename', } ); // Check focus is transferred into modal.