Skip to content

Avatar Block Exceeds Editor Width When 'Link to User Profile' Option is Enabled #125385

Avatar Block Exceeds Editor Width When 'Link to User Profile' Option is Enabled

Avatar Block Exceeds Editor Width When 'Link to User Profile' Option is Enabled #125385

Triggered via pull request March 4, 2025 03:50
Status Failure
Total duration 18m 45s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
5s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 8 notices
[chromium] › editor/various/typewriter.spec.js:187:2 › Typewriter › should scroll caret into view from the top: test/e2e/specs/editor/various/typewriter.spec.js#L273
1) [chromium] › editor/various/typewriter.spec.js:187:2 › Typewriter › should scroll caret into view from the top Error: expect(received).toBeGreaterThan(expected) Expected: > 5.59375 Received: 5.59375 271 | const newTopPosition = await typewriterUtils.getCaretPosition(); 272 | > 273 | expect( newTopPosition ).toBeGreaterThan( topPosition ); | ^ 274 | 275 | // Should maintain new caret position. 276 | await page.keyboard.press( 'Enter' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/typewriter.spec.js:273:28
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments: 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-debc846a-2fb2-4207-b3ac-71e6fdc6d49b" data-block="debc846a-2fb2-4207-b3ac-71e6fdc6d49b" 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
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments: 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-a90a91f2-7b35-440c-97df-50d747d91e83" data-block="a90a91f2-7b35-440c-97df-50d747d91e83" 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
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments: 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-750bde67-0f99-4e93-a767-f21e59b66720" data-block="750bde67-0f99-4e93-a767-f21e59b66720" 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
Playwright - 1
Process completed with exit code 1.
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L75
1) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Hello World! And more." Received string: "Hello World!" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Hello World!</h1> - unexpected value "Hello World!" 73 | 74 | // Title in preview should match updated input. > 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' ); | ^ 76 | 77 | // Published preview URL should include ID and nonce parameters. 78 | const { searchParams } = new URL( previewPage.url() ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L75
1) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Hello World! And more." Received string: "Hello World!" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Hello World!</h1> - unexpected value "Hello World!" 73 | 74 | // Title in preview should match updated input. > 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' ); | ^ 76 | 77 | // Published preview URL should include ID and nonce parameters. 78 | const { searchParams } = new URL( previewPage.url() ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L75
1) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Hello World! And more." Received string: "Hello World!" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Hello World!</h1> - unexpected value "Hello World!" 73 | 74 | // Title in preview should match updated input. > 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' ); | ^ 76 | 77 | // Published preview URL should include ID and nonce parameters. 78 | const { searchParams } = new URL( previewPage.url() ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses: test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Lorem Ipsum" Received string: "Lorem" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Lorem</h1> - unexpected value "Lorem" 180 | 181 | // Title in preview should match updated input. > 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | ^ 183 | 184 | // Return to editor and switch to Draft. 185 | await editorPage.bringToFront(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses: test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Lorem Ipsum" Received string: "Lorem" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Lorem</h1> - unexpected value "Lorem" 180 | 181 | // Title in preview should match updated input. > 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | ^ 183 | 184 | // Return to editor and switch to Draft. 185 | await editorPage.bringToFront(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses: test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "Lorem Ipsum" Received string: "Lorem" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">Lorem</h1> - unexpected value "Lorem" 180 | 181 | // Title in preview should match updated input. > 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | ^ 183 | 184 | // Return to editor and switch to Draft. 185 | await editorPage.bringToFront(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview: test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "title 2" Received string: "title 1" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">title 1</h1> - unexpected value "title 1" 271 | 272 | // Title in preview should match input. > 273 | await expect( previewTitle ).toHaveText( 'title 2' ); | ^ 274 | await expect( previewContent ).toHaveText( 'content 2' ); 275 | 276 | // Make sure the editor is active for the afterEach function. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview: test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "title 2" Received string: "title 1" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">title 1</h1> - unexpected value "title 1" 271 | 272 | // Title in preview should match input. > 273 | await expect( previewTitle ).toHaveText( 'title 2' ); | ^ 274 | await expect( previewContent ).toHaveText( 'content 2' ); 275 | 276 | // Make sure the editor is active for the afterEach function. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview: test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('role=heading[level=1]') Expected string: "title 2" Received string: "title 1" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('role=heading[level=1]') 9 × locator resolved to <h1 class="entry-title">title 1</h1> - unexpected value "title 1" 271 | 272 | // Title in preview should match input. > 273 | await expect( previewTitle ).toHaveText( 'title 2' ); | ^ 274 | await expect( previewContent ).toHaveText( 'content 2' ); 275 | 276 | // Make sure the editor is active for the afterEach function. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
Playwright - 4
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 203 passed (6.0m)
🎭 Playwright Run Summary
1 skipped 197 passed (7.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/typewriter.spec.js:187:2 › Typewriter › should scroll caret into view from the top 1 skipped 200 passed (8.2m)
🎭 Playwright Run Summary
1 skipped 204 passed (8.2m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments 206 passed (9.2m)
🎭 Playwright Run Summary
3 failed [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview 1 skipped 194 passed (9.5m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.4m)
🎭 Playwright Run Summary
1 skipped 208 passed (10.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
36.7 MB
flaky-tests-report
1004 Bytes