Skip to content

Commit

Permalink
Feedback Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Jan 7, 2025
1 parent 4a65648 commit 2fa2c31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/e2e/specs/editor/blocks/image.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -859,17 +859,17 @@ test.describe( 'Image', () => {
} )
).toBeFocused();

// Select "Expand on click", then remove it.
// Select "Enlarge on click", then remove it.
await pageUtils.pressKeys( 'Tab' );
await page.keyboard.press( 'Enter' );
await pageUtils.pressKeys( 'Tab', { times: 5 } );
await expect(
page.getByRole( 'menuitem', { name: 'Expand on click' } )
page.getByRole( 'menuitem', { name: 'Enlarge on click' } )
).toBeFocused();
await page.keyboard.press( 'Enter' );
await expect(
page.getByRole( 'button', {
name: 'Disable expand on click',
name: 'Disable enlarge on click',
} )
).toBeFocused();
await page.keyboard.press( 'Enter' );
Expand Down Expand Up @@ -933,7 +933,7 @@ test.describe( 'Image - lightbox', () => {

await expect(
page.getByRole( 'menuitem', {
name: 'Expand on click',
name: 'Enlarge on click',
} )
).toBeHidden();
} );
Expand All @@ -958,13 +958,13 @@ test.describe( 'Image - lightbox', () => {

await page
.getByRole( 'button', {
name: 'Disable expand on click',
name: 'Disable enlarge on click',
} )
.click();

await expect(
page.getByRole( 'menuitem', {
name: 'Expand on click',
name: 'Enlarge on click',
} )
).toBeHidden();
} );
Expand Down

0 comments on commit 2fa2c31

Please sign in to comment.