Interactivity API: Defer hydration until node is scrolled near the viewport #122625
Annotations
1 error, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/image.spec.js#L648
1) [chromium] › editor/blocks/image.spec.js:620:2 › Image › image inserted via link should appear in the frontend published post content
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
- locator resolved to <img alt="This image has an empty alt attribute; its file name is wp20-logo-white.svg" src="https://wp20.wordpress.net/wp-content/themes/twentyseventeen-wp20/images/wp20-logo-white.svg"/>
- unexpected value "hidden"
646 |
647 | const imageInEditor = imageBlock.locator( 'role=img' );
> 648 | await expect( imageInEditor ).toBeVisible();
| ^
649 | await expect( imageInEditor ).toHaveAttribute( 'src', imgUrl );
650 |
651 | const postId = await editor.publishPost();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:648:33
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
1 flaky
[chromium] › editor/blocks/image.spec.js:620:2 › Image › image inserted via link should appear in the frontend published post content
206 passed (10.5m)
|
Loading