Skip to content

Commit

Permalink
Update label name in test
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Jan 29, 2024
1 parent 898eb40 commit 13bea5a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/specs/editor/blocks/image.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,10 +670,7 @@ test.describe( 'Image', () => {
imageBlock.locator( 'data-testid=form-file-upload-input' )
);

await page
.getByLabel( 'Block tools' )
.getByLabel( 'Insert link' )
.click();
await page.getByLabel( 'Block tools' ).getByLabel( 'Add link' ).click();

// This form lacks distinguishing qualities other than the
// class name, so we use page.locator() instead of page.getByRole()
Expand Down

0 comments on commit 13bea5a

Please sign in to comment.