Skip to content

Commit

Permalink
Add back the wait for the image resize buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed Nov 30, 2021
1 parent 99a0696 commit cdbe93a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/e2e-tests/specs/editor/blocks/image.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ describe( 'Image', () => {
await waitForImage( filename );
// Resize the Uploaded Image.
await openDocumentSettingsSidebar();
await page.waitForSelector(
'[aria-label="Image size presets"] button:first-child',
{ visible: true }
);
await page.click(
'[aria-label="Image size presets"] button:first-child'
);
Expand Down

0 comments on commit cdbe93a

Please sign in to comment.