Editor: Use hooks instead of HoCs for EditorNotices
(#57772)
#93133
Annotations
1 error and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/image.spec.js#L644
1) [chromium] › editor/blocks/image.spec.js:616:2 › Image › image inserted via link should appear in the frontend published post content
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Image"i]').locator('role=img')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Image"i]').locator('role=img')
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its …/>
- unexpected value "hidden"
642 |
643 | const imageInEditor = imageBlock.locator( 'role=img' );
> 644 | await expect( imageInEditor ).toBeVisible();
| ^
645 | await expect( imageInEditor ).toHaveAttribute( 'src', imgUrl );
646 |
647 | const postId = await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:644:33
|
Run the tests
1 flaky
[chromium] › editor/blocks/image.spec.js:616:2 › Image › image inserted via link should appear in the frontend published post content
11 skipped
151 passed (7.9m)
|
The logs for this run have expired and are no longer available.
Loading