Skip to content

Provide default algorithm for section root in block editor #121036

Provide default algorithm for section root in block editor

Provide default algorithm for section root in block editor #121036

Triggered via pull request December 5, 2024 10:22
Status Failure
Total duration 18m 6s
Artifacts 2

end2end-test.yml

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

Annotations

9 errors, 9 warnings, and 8 notices
[chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks: test/e2e/specs/editor/various/write-design-mode.spec.js#L101
1) [chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks Error: expect(received).toEqual(expected) // deep equality Expected: "6b476d14-be18-43b8-8986-4661da307e39" Received: null 99 | ); 100 | > 101 | expect( await getSelectedBlock() ).toEqual( sectionClientId ); | ^ 102 | 103 | // We should be able to select the paragraph block and write in it. 104 | await paragraph.click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/write-design-mode.spec.js:101:38
[chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks: test/e2e/specs/editor/various/write-design-mode.spec.js#L101
1) [chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "599a7b9a-af01-4f54-abaa-0e493324b7dd" Received: null 99 | ); 100 | > 101 | expect( await getSelectedBlock() ).toEqual( sectionClientId ); | ^ 102 | 103 | // We should be able to select the paragraph block and write in it. 104 | await paragraph.click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/write-design-mode.spec.js:101:38
[chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks: test/e2e/specs/editor/various/write-design-mode.spec.js#L101
1) [chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "8b8bf776-7cf4-4bb3-be3d-aad0ab74acd1" Received: null 99 | ); 100 | > 101 | expect( await getSelectedBlock() ).toEqual( sectionClientId ); | ^ 102 | 103 | // We should be able to select the paragraph block and write in it. 104 | await paragraph.click(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/write-design-mode.spec.js:101:38
Playwright - 5
Process completed with exit code 1.
[chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable: test/e2e/specs/editor/various/pattern-overrides.spec.js#L353
1) [chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable, and all other blocks are disabled › Zoomed in / Write mode - pattern as a section Error: Timed out 5000ms waiting for expect(locator).not.toHaveAttribute(expected) Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Pattern' }) Expected string: not "true" Received string: "true" Call log: - expect.not.toHaveAttribute with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Pattern' }) - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-471631e3-2776-4f71-963b-fd39c1152df9" data-block="471631e3-2776-4f71-963b-fd39c1152df9" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document"
[chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable: test/e2e/specs/editor/various/pattern-overrides.spec.js#L353
1) [chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable, and all other blocks are disabled › Zoomed in / Write mode - pattern as a section Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toHaveAttribute(expected) Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Pattern' }) Expected string: not "true" Received string: "true" Call log: - expect.not.toHaveAttribute with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Pattern' }) - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" data-block="bf0ca9ec-f7b4-47a6-9294-bfe9dabb7676" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> -
[chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable: test/e2e/specs/editor/various/pattern-overrides.spec.js#L353
1) [chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable, and all other blocks are disabled › Zoomed in / Write mode - pattern as a section Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toHaveAttribute(expected) Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Pattern' }) Expected string: not "true" Received string: "true" Call log: - expect.not.toHaveAttribute with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Pattern' }) - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "true" - locator resolved to <div inert="true" tabindex="-1" role="document" data-title="Pattern" data-type="core/block" aria-label="Block: Pattern" id="block-d690aa86-31eb-42a9-985a-67eb9a70adda" data-block="d690aa86-31eb-42a9-985a-67eb9a70adda" class="block-editor-block-list__block wp-block is-selected is-reusable is-editing-disabled block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> -
Playwright - 4
Process completed with exit code 1.
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57 55 | // Wait for the canvas loader to appear first, so that the locator that 56 | // waits for the hidden state doesn't resolve prematurely. > 57 | await canvasLoader.waitFor( { state: 'visible' } ); | ^ 58 | await canvasLoader.waitFor( { 59 | state: 'hidden', 60 | // Bigger timeout is needed for larger entities, like the Large Post at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 skipped 195 passed (6.5m)
🎭 Playwright Run Summary
1 skipped 201 passed (9.6m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/write-design-mode.spec.js:23:2 › Write/Design mode › Should prevent selecting intermediary blocks 1 skipped 189 passed (9.3m)
🎭 Playwright Run Summary
1 skipped 194 passed (9.5m)
🎭 Playwright Run Summary
199 passed (9.9m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/pattern-overrides.spec.js:240:3 › Pattern Overrides › block editing modes › blocks with bindings in a synced pattern are editable, and all other blocks are disabled 1 skipped 196 passed (10.3m)
🎭 Playwright Run Summary
1 flaky [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions 3 skipped 187 passed (10.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
8.37 MB
flaky-tests-report
1.08 KB