Skip to content

Connectors: align Gutenberg init hook priorities with Core #147054

Connectors: align Gutenberg init hook priorities with Core

Connectors: align Gutenberg init hook priorities with Core #147054

Re-run triggered March 4, 2026 22:03
Status Failure
Total duration 21m 26s
Artifacts 6

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
1m 12s
Merge Artifacts
Report to GitHub
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 notices
Playwright - 3
Process completed with exit code 1.
[chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post: test/e2e/specs/editor/various/change-detection.spec.js#L74
1) [chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 72 | ); 73 | > 74 | expect( await changeDetectionUtils.getIsDirty() ).toBe( isRTCEnabled ); | ^ 75 | } ); 76 | 77 | test( 'Should prompt to confirm unsaved changes for autosaved draft for non-content fields', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/change-detection.spec.js:74:53
[chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post: test/e2e/specs/editor/various/change-detection.spec.js#L74
1) [chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 72 | ); 73 | > 74 | expect( await changeDetectionUtils.getIsDirty() ).toBe( isRTCEnabled ); | ^ 75 | } ); 76 | 77 | test( 'Should prompt to confirm unsaved changes for autosaved draft for non-content fields', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/change-detection.spec.js:74:53
[chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post: test/e2e/specs/editor/various/change-detection.spec.js#L74
1) [chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 72 | ); 73 | > 74 | expect( await changeDetectionUtils.getIsDirty() ).toBe( isRTCEnabled ); | ^ 75 | } ); 76 | 77 | test( 'Should prompt to confirm unsaved changes for autosaved draft for non-content fields', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/change-detection.spec.js:74:53
Playwright - 4
Process completed with exit code 1.
[chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor: test/e2e/specs/editor/various/inner-blocks-templates.spec.js#L53
1) [chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveAttribute(expected) failed Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Undo"i]') Expected: "true" Received: "false" Timeout: 5000ms Call log: - Expect "toHaveAttribute" with timeout 5000ms - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Undo"i]') 9 × locator resolved to <button id=":r3:" type="button" tabindex="-1" aria-label="Undo" aria-disabled="false" data-toolbar-item="true" class="components-button editor-history__undo is-next-40px-default-size is-compact has-icon">…</button> - unexpected value "false" 51 | 'role=button[name="Save"i]' 52 | ); > 53 | await expect( undoButton ).toHaveAttribute( 'aria-disabled', 'true' ); | ^ 54 | await expect( updateButton ).toHaveAttribute( 'aria-disabled', 'true' ); 55 | } ); 56 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inner-blocks-templates.spec.js:53:30
[chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor: test/e2e/specs/editor/various/inner-blocks-templates.spec.js#L53
1) [chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveAttribute(expected) failed Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Undo"i]') Expected: "true" Received: "false" Timeout: 5000ms Call log: - Expect "toHaveAttribute" with timeout 5000ms - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Undo"i]') 9 × locator resolved to <button id=":r3:" type="button" tabindex="-1" aria-label="Undo" aria-disabled="false" data-toolbar-item="true" class="components-button editor-history__undo is-next-40px-default-size is-compact has-icon">…</button> - unexpected value "false" 51 | 'role=button[name="Save"i]' 52 | ); > 53 | await expect( undoButton ).toHaveAttribute( 'aria-disabled', 'true' ); | ^ 54 | await expect( updateButton ).toHaveAttribute( 'aria-disabled', 'true' ); 55 | } ); 56 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inner-blocks-templates.spec.js:53:30
[chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor: test/e2e/specs/editor/various/inner-blocks-templates.spec.js#L53
1) [chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor Error: expect(locator).toHaveAttribute(expected) failed Locator: locator('role=region[name="Editor top bar"i]').locator('role=button[name="Undo"i]') Expected: "true" Received: "false" Timeout: 5000ms Call log: - Expect "toHaveAttribute" with timeout 5000ms - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Undo"i]') 9 × locator resolved to <button id=":r3:" type="button" tabindex="-1" aria-label="Undo" aria-disabled="false" data-toolbar-item="true" class="components-button editor-history__undo is-next-40px-default-size is-compact has-icon">…</button> - unexpected value "false" 51 | 'role=button[name="Save"i]' 52 | ); > 53 | await expect( undoButton ).toHaveAttribute( 'aria-disabled', 'true' ); | ^ 54 | await expect( updateButton ).toHaveAttribute( 'aria-disabled', 'true' ); 55 | } ); 56 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inner-blocks-templates.spec.js:53:30
Playwright - 2
Process completed with exit code 1.
[chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there: test/e2e/specs/editor/plugins/block-hooks.spec.js#L242
2) [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 0 + Received + 17 Array [ Object { + "attributes": Object { + "content": "<h2 class=\"dummy-classic-heading\">This is a dummy heading</h2> + <p class=\"dummy-classic-paragraph\">This is a dummy paragraph.</p>", + }, + "innerBlocks": Array [], "name": "core/freeform", }, Object { "attributes": Object { "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], + "name": "core/paragraph", + }, + Object { + "attributes": Object { + "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 240 | 241 | await admin.editPost( postObject.id ); > 242 | await expect | ^ 243 | .poll( editor.getBlocks ) 244 | .toMatchObject( [ 245 | { name: 'core/freeform' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:242:5
[chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there: test/e2e/specs/editor/plugins/block-hooks.spec.js#L242
2) [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 0 + Received + 17 Array [ Object { + "attributes": Object { + "content": "<h2 class=\"dummy-classic-heading\">This is a dummy heading</h2> + <p class=\"dummy-classic-paragraph\">This is a dummy paragraph.</p>", + }, + "innerBlocks": Array [], "name": "core/freeform", }, Object { "attributes": Object { "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], + "name": "core/paragraph", + }, + Object { + "attributes": Object { + "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 240 | 241 | await admin.editPost( postObject.id ); > 242 | await expect | ^ 243 | .poll( editor.getBlocks ) 244 | .toMatchObject( [ 245 | { name: 'core/freeform' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:242:5
[chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there: test/e2e/specs/editor/plugins/block-hooks.spec.js#L242
2) [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there Error: expect(received).toMatchObject(expected) - Expected - 0 + Received + 17 Array [ Object { + "attributes": Object { + "content": "<h2 class=\"dummy-classic-heading\">This is a dummy heading</h2> + <p class=\"dummy-classic-paragraph\">This is a dummy paragraph.</p>", + }, + "innerBlocks": Array [], "name": "core/freeform", }, Object { "attributes": Object { "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], + "name": "core/paragraph", + }, + Object { + "attributes": Object { + "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 240 | 241 | await admin.editPost( postObject.id ); > 242 | await expect | ^ 243 | .poll( editor.getBlocks ) 244 | .toMatchObject( [ 245 | { name: 'core/freeform' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:242:5
[chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there: test/e2e/specs/editor/plugins/block-hooks.spec.js#L121
1) [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 0 + Received + 31 Array [ Object { + "attributes": Object { + "content": "This is a dummy heading", + "level": 2, + "metadata": Object { + "ignoredHookedBlocks": Array [ + "core/paragraph", + ], + }, + }, + "innerBlocks": Array [], "name": "core/heading", }, Object { "attributes": Object { "className": "hooked-block-after-heading", + "content": "This block was inserted by the Block Hooks API in the <code>after</code> position next to the <code>core/heading</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], "name": "core/paragraph", }, Object { + "attributes": Object { + "className": "dummy-paragraph", + "content": "This is a dummy paragraph.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, Object { "attributes": Object { "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], + "name": "core/paragraph", + }, + Object { + "attributes": Object { + "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 119 | 120 | await admin.editPost( postObject.id ); > 121 | await expect | ^ 122 | .poll( editor.getBlocks ) 123 | .toMatchObject( [ 124 | { name: 'core/heading' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:121:5
[chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there: test/e2e/specs/editor/plugins/block-hooks.spec.js#L121
1) [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 0 + Received + 31 Array [ Object { + "attributes": Object { + "content": "This is a dummy heading", + "level": 2, + "metadata": Object { + "ignoredHookedBlocks": Array [ + "core/paragraph", + ], + }, + }, + "innerBlocks": Array [], "name": "core/heading", }, Object { "attributes": Object { "className": "hooked-block-after-heading", + "content": "This block was inserted by the Block Hooks API in the <code>after</code> position next to the <code>core/heading</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], "name": "core/paragraph", }, Object { + "attributes": Object { + "className": "dummy-paragraph", + "content": "This is a dummy paragraph.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, Object { "attributes": Object { "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], + "name": "core/paragraph", + }, + Object { + "attributes": Object { + "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 119 | 120 | await admin.editPost( postObject.id ); > 121 | await expect | ^ 122 | .poll( editor.getBlocks ) 123 | .toMatchObject( [ 124 | { name: 'core/heading' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:121:5
[chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there: test/e2e/specs/editor/plugins/block-hooks.spec.js#L121
1) [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there Error: expect(received).toMatchObject(expected) - Expected - 0 + Received + 31 Array [ Object { + "attributes": Object { + "content": "This is a dummy heading", + "level": 2, + "metadata": Object { + "ignoredHookedBlocks": Array [ + "core/paragraph", + ], + }, + }, + "innerBlocks": Array [], "name": "core/heading", }, Object { "attributes": Object { "className": "hooked-block-after-heading", + "content": "This block was inserted by the Block Hooks API in the <code>after</code> position next to the <code>core/heading</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], "name": "core/paragraph", }, Object { + "attributes": Object { + "className": "dummy-paragraph", + "content": "This is a dummy paragraph.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, Object { "attributes": Object { "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, }, + "innerBlocks": Array [], + "name": "core/paragraph", + }, + Object { + "attributes": Object { + "className": "hooked-block-last_child-post-content", + "content": "This block was inserted by the Block Hooks API in the <code>last_child</code> position next to the <code>core/post-content</code> anchor block.", + "dropCap": false, + }, + "innerBlocks": Array [], "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 119 | 120 | await admin.editPost( postObject.id ); > 121 | await expect | ^ 122 | .poll( editor.getBlocks ) 123 | .toMatchObject( [ 124 | { name: 'core/heading' }, at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/block-hooks.spec.js:121:5
🎭 Playwright Run Summary
1 failed [chromium] › test/e2e/specs/editor/various/change-detection.spec.js:47:2 › Change detection › Should autosave post 1 skipped 233 passed (14.4m)
🎭 Playwright Run Summary
1 failed [chromium] › test/e2e/specs/editor/various/inner-blocks-templates.spec.js:23:2 › Inner blocks templates › applying block templates asynchronously does not create a persistent change in the editor 2 skipped 236 passed (14.3m)
🎭 Playwright Run Summary
2 failed [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:95:4 › Block Hooks API › Hooked blocks in Post Content (blocks) › should insert hooked blocks into Post Content in editor and respect changes made there [chromium] › test/e2e/specs/editor/plugins/block-hooks.spec.js:226:4 › Block Hooks API › Hooked blocks in Post Content (classic) › should insert hooked blocks into Post Content in editor and respect changes made there 1 skipped 235 passed (16.7m)

Artifacts

Produced during runtime
Name Size Digest
blob-reports-merged
20.6 MB
sha256:8732431126aa4084a8903e07e2c8fa1250af8c681974f7963c3b847a3172dc82
failures-artifacts
22.6 MB
sha256:0620c0dc515741993b9487ce922a39be545ce4f052c0c80a90e4bda596ef3524
flaky-tests-report
1.29 KB
sha256:8afe58d3db83ead37dc0f79472d0f49a09845ccd6232530f176858cd2738f5f5
html-report--attempt-2
20.4 MB
sha256:ed65d75b4c29319881f0927c4b3ddfdc676c5ac275e0ebfa010f76e1de1ffa5a