diff --git a/packages/block-editor/src/components/url-popover/image-url-input-ui.js b/packages/block-editor/src/components/url-popover/image-url-input-ui.js index f6946b2c8e65d2..0eaea3149197b9 100644 --- a/packages/block-editor/src/components/url-popover/image-url-input-ui.js +++ b/packages/block-editor/src/components/url-popover/image-url-input-ui.js @@ -241,11 +241,11 @@ const ImageURLInputUI = ( { { isOpen && ( { imageBlock.locator( 'data-testid=form-file-upload-input' ) ); - await page.getByLabel( 'Block tools' ).getByLabel( 'Add link' ).click(); + await page.getByLabel( 'Block tools' ).getByLabel( 'Link' ).click(); // This form lacks distinguishing qualities other than the // class name, so we use page.locator() instead of page.getByRole()