Image block: fix placement of resizable overlay #125344
Annotations
7 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
Expected string: "No results found."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-41b375e1-8da8-40e2-992b-c18643561094" data-block="41b375e1-8da8-40e2-992b-c18643561094" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p>
- unexpected value ""
55 | 'role=document[name="Block: Comment Template"i]'
56 | )
> 57 | ).toContainText( 'No results found.' );
| ^
58 | } );
59 |
60 | test( 'Pagination links are working as expected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
|
Run the tests:
test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
Expected string: "No results found."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-6178668b-56ee-4f24-a84f-db2406cb84b7" data-block="6178668b-56ee-4f24-a84f-db2406cb84b7" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p>
- unexpected value ""
55 | 'role=document[name="Block: Comment Template"i]'
56 | )
> 57 | ).toContainText( 'No results found.' );
| ^
58 | } );
59 |
60 | test( 'Pagination links are working as expected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
|
Run the tests:
test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
Expected string: "No results found."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-75c548f3-91f2-4884-9892-03c1ebda17dc" data-block="75c548f3-91f2-4884-9892-03c1ebda17dc" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p>
- unexpected value ""
55 | 'role=document[name="Block: Comment Template"i]'
56 | )
> 57 | ).toContainText( 'No results found.' );
| ^
58 | } );
59 |
60 | test( 'Pagination links are working as expected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
|
Run the tests:
test/e2e/specs/editor/blocks/image.spec.js#L496
2) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter
TimeoutError: locator.dragTo: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Block Library' }).getByRole('listbox', { name: 'Media List' }).getByRole('option').nth(1)
- locator resolved to <div id=":r8h:" role="option" tabindex="-1" aria-label="n552_w1150" class="block-editor-inserter__media-list__item">…</div>
- attempting move and down action
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- performing move and down action
- move and down action done
- waiting for scheduled navigations to finish
- navigations have finished
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' })
- locator resolved to <figure tabindex="0" role="document" draggable="true" data-title="Image" data-type="core/image" aria-label="Block: Image" id="block-5bf68be4-922d-4871-93e8-a355d0bc7cb2" data-block="5bf68be4-922d-4871-93e8-a355d0bc7cb2" class="block-editor-block-list__block wp-block is-selected size-full wp-block-image">…</figure>
- attempting move and up action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 20ms
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 100ms
18 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 500ms
494 | .getByRole( 'option' )
495 | .nth( 1 )
> 496 | .dragTo( imageBlock );
| ^
497 |
498 | await expect( async () => {
499 | const blocks = await editor.getBlocks();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:496:5
|
Run the tests:
test/e2e/specs/editor/blocks/image.spec.js#L496
2) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.dragTo: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Block Library' }).getByRole('listbox', { name: 'Media List' }).getByRole('option').nth(1)
- locator resolved to <div id=":r6h:" role="option" tabindex="-1" aria-label="n552_w1150" class="block-editor-inserter__media-list__item">…</div>
- attempting move and down action
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- performing move and down action
- move and down action done
- waiting for scheduled navigations to finish
- navigations have finished
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' })
- locator resolved to <figure tabindex="0" role="document" draggable="true" data-title="Image" data-type="core/image" aria-label="Block: Image" id="block-00b0d921-23a1-45b6-9cbb-20172c4b9517" data-block="00b0d921-23a1-45b6-9cbb-20172c4b9517" class="block-editor-block-list__block wp-block is-selected size-full wp-block-image">…</figure>
- attempting move and up action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 20ms
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 100ms
18 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 500ms
494 | .getByRole( 'option' )
495 | .nth( 1 )
> 496 | .dragTo( imageBlock );
| ^
497 |
498 | await expect( async () => {
499 | const blocks = await editor.getBlocks();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:496:5
|
Run the tests:
test/e2e/specs/editor/blocks/image.spec.js#L496
2) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.dragTo: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Block Library' }).getByRole('listbox', { name: 'Media List' }).getByRole('option').nth(1)
- locator resolved to <div id=":r8h:" role="option" tabindex="-1" aria-label="n552_w1150" class="block-editor-inserter__media-list__item">…</div>
- attempting move and down action
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- performing move and down action
- move and down action done
- waiting for scheduled navigations to finish
- navigations have finished
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' })
- locator resolved to <figure tabindex="0" role="document" draggable="true" data-title="Image" data-type="core/image" aria-label="Block: Image" id="block-b0cd5d5c-dff2-4402-b1e3-4643f9f3121b" data-block="b0cd5d5c-dff2-4402-b1e3-4643f9f3121b" class="block-editor-block-list__block wp-block is-selected size-full wp-block-image">…</figure>
- attempting move and up action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 20ms
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 100ms
18 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="components-resizable-box__container has-show-handle">…</div> from <div class="popover-slot css-0 e19lxcc00">…</div> subtree intercepts pointer events
- retrying move and up action
- waiting 500ms
494 | .getByRole( 'option' )
495 | .nth( 1 )
> 496 | .dragTo( imageBlock );
| ^
497 |
498 | await expect( async () => {
499 | const blocks = await editor.getBlocks();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:496:5
|
Run the tests
Process completed with exit code 1.
|
Run the tests
2 failed
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
[chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter
205 passed (9.7m)
|
Loading