Skip to content

Commit

Permalink
Update URL to uppercase. (#62231)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored Jun 4, 2024
1 parent bbf0816 commit dbf2014
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const LinkControlSearchInput = forwardRef(
className={ className }
value={ value }
onChange={ onInputChange }
placeholder={ placeholder ?? __( 'Search or type url' ) }
placeholder={ placeholder ?? __( 'Search or type URL' ) }
__experimentalRenderSuggestions={
showSuggestions ? handleRenderSuggestions : null
}
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/specs/editor/blocks/links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ test.describe( 'Links', () => {
// Change the URL.
// getByPlaceholder required in order to handle Link Control component
// managing focus onto other inputs within the control.
await page.getByPlaceholder( 'Search or type url' ).fill( '' );
await page.getByPlaceholder( 'Search or type URL' ).fill( '' );
await page.keyboard.type( '/handbook' );

// Submit the link.
Expand Down Expand Up @@ -349,7 +349,7 @@ test.describe( 'Links', () => {
// Change the URL.
// getByPlaceholder required in order to handle Link Control component
// managing focus onto other inputs within the control.
await page.getByPlaceholder( 'Search or type url' ).fill( '' );
await page.getByPlaceholder( 'Search or type URL' ).fill( '' );
await page.keyboard.type( '/handbook' );

// Submit the link.
Expand Down Expand Up @@ -679,7 +679,7 @@ test.describe( 'Links', () => {
// Change the URL.
// Note: getByPlaceholder required in order to handle Link Control component
// managing focus onto other inputs within the control.
await linkPopover.getByPlaceholder( 'Search or type url' ).fill( '' );
await linkPopover.getByPlaceholder( 'Search or type URL' ).fill( '' );
await page.keyboard.type( 'wordpress.org' );

// Save the link.
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/specs/editor/various/block-bindings.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ test.describe( 'Block bindings', () => {
.getByRole( 'button', { name: 'Edit link', exact: true } )
.click();
await page
.getByPlaceholder( 'Search or type url' )
.getByPlaceholder( 'Search or type URL' )
.fill( '#url-custom-field-modified' );
await pageUtils.pressKeys( 'Enter' );

Expand Down Expand Up @@ -2103,7 +2103,7 @@ test.describe( 'Block bindings', () => {
.getByRole( 'button', { name: 'Edit link', exact: true } )
.click();
await page
.getByPlaceholder( 'Search or type url' )
.getByPlaceholder( 'Search or type URL' )
.fill( imageCustomFieldSrc );
await pageUtils.pressKeys( 'Enter' );

Expand Down

0 comments on commit dbf2014

Please sign in to comment.