Skip to content

Scripts: Preserve static and dynamic imports of script modules #198055

Scripts: Preserve static and dynamic imports of script modules

Scripts: Preserve static and dynamic imports of script modules #198055

Triggered via pull request November 19, 2026 14:44
Status Success
Total duration 22m 48s
Artifacts 4

end2end-test.yml

on: pull_request
Detect changes relevant to E2E tests
7s
Detect changes relevant to E2E tests
Matrix: e2e-playwright
Playwright - RTC WebSocket
9m 16s
Playwright - RTC WebSocket
Playwright - Site Editor v2
11m 45s
Playwright - Site Editor v2
Merge Artifacts
48s
Merge Artifacts
End-to-End Tests - Status Check
18s
End-to-End Tests - Status Check
Update PR meta comment
10s
Update PR meta comment
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 notices
[chromium] › specs/site-editor/navigation-sidebar-list-view.spec.js:151:2 › Navigation sidebar - list view editing › does not select blocks in the canvas preview when editing from the sidebar: test/e2e/specs/site-editor/navigation-sidebar-list-view.spec.js#L416
1) [chromium] › specs/site-editor/navigation-sidebar-list-view.spec.js:151:2 › Navigation sidebar - list view editing › does not select blocks in the canvas preview when editing from the sidebar Error: expect(locator).toBeFocused() failed Locator: getByRole('combobox', { name: 'Search or type URL' }) Expected: focused Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeFocused" getByRole('combobox', { name: 'Search or type URL' }) with timeout 5000ms - waiting for getByRole('combobox', { name: 'Search or type URL' }) 414 | 415 | async useLinkControlSearch( searchTerm ) { > 416 | await expect( this.getLinkControlSearch() ).toBeFocused(); | ^ 417 | 418 | await this.page.keyboard.type( searchTerm, { delay: 50 } ); 419 | at LinkControl.useLinkControlSearch (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-sidebar-list-view.spec.js:416:47) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/navigation-sidebar-list-view.spec.js:179:21
[chromium] › specs/editor/various/revisions.spec.js:17:2 › Post revisions › should restore an older revision: test/e2e/specs/editor/various/revisions.spec.js#L146
2) [chromium] › specs/editor/various/revisions.spec.js:17:2 › Post revisions › should restore an older revision Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "Original content - Updated content - Autosaved", + "content": "Original content", }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 144 | await expect 145 | .poll( editor.getBlocks ) > 146 | .toMatchObject( contentBeforeRestore ); | ^ 147 | } ); 148 | 149 | test( 'should show revision changes in the code editor (@WebKit)', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/revisions.spec.js:146:5
[chromium] › specs/editor/various/editable-root-compat.spec.js:254:2 › Editable root block event handler compatibility › does not double up an event React already delivers: test/e2e/specs/editor/various/editable-root-compat.spec.js#L291
1) [chromium] › specs/editor/various/editable-root-compat.spec.js:254:2 › Editable root block event handler compatibility › does not double up an event React already delivers Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 Call Log: - Timeout 5000ms exceeded while waiting on the predicate 289 | await expect 290 | .poll( () => page.evaluate( () => window.__extCount ) ) > 291 | .toBe( 1 ); | ^ 292 | } ); 293 | } ); 294 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/editable-root-compat.spec.js:291:5
[chromium] › specs/editor/various/writing-flow.spec.js:1439:2 › Writing Flow (@firefox, @webkit) › should select synced pattern: test/e2e/specs/editor/various/writing-flow.spec.js#L1464
1) [chromium] › specs/editor/various/writing-flow.spec.js:1439:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern Error: expect(locator).toBeFocused() failed Locator: locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/block"]') Expected: focused Received: inactive Timeout: 5000ms Call log: - Expect "toBeFocused" locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/block"]') with timeout 5000ms - waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/block"]') 14 × locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Pattern" data-type="core/block" data-is-drop-zone="true" aria-label="Block: Pattern" id="block-5927f28b-be37-4ae4-84c7-b97c92b2d3a3" data-block="5927f28b-be37-4ae4-84c7-b97c92b2d3a3" class="block-editor-block-list__block wp-block is-selected is-reusable block-library-block__reusable-block-container wp-block-block block-editor-block-list__layout">…</div> - unexpected value "inactive" 1462 | await expect( 1463 | editor.canvas.locator( '[data-type="core/block"]' ) > 1464 | ).toBeFocused(); | ^ 1465 | } ); 1466 | 1467 | test( 'should select non-contenteditable block via click after partial selection', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1464:5
[chromium] › specs/interactivity/router-navigation-lifecycle.spec.ts:660:4 › Router navigation lifecycle › Region-mode lifecycle, end timing, settlement and failure › an uncached back/forward traversal produces no lifecycle cycle, and discharges the reading to idle as it reloads › a navigation superseded by the traversal discharges to idle: test/e2e/specs/interactivity/router-navigation-lifecycle.spec.ts#L28
1) [chromium] › specs/interactivity/router-navigation-lifecycle.spec.ts:660:4 › Router navigation lifecycle › Region-mode lifecycle, end timing, settlement and failure › an uncached back/forward traversal produces no lifecycle cycle, and discharges the reading to idle as it reloads › a navigation superseded by the traversal discharges to idle SyntaxError: Unexpected token 'o', "not hydrated" is not valid JSON 26 | ): Promise< T[] > => { 27 | const text = await page.getByTestId( testId ).textContent(); > 28 | return JSON.parse( text ?? '[]' ); | ^ 29 | }; 30 | 31 | /** at readLog (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigation-lifecycle.spec.ts:28:14) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigation-lifecycle.spec.ts:47:24 at waitForLogLength (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigation-lifecycle.spec.ts:46:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigation-lifecycle.spec.ts:693:5
Merge Artifacts
Process completed with exit code 1.
🎭 Playwright Run Summary
76 passed (6.7m)
🎭 Playwright Run Summary
1 skipped 359 passed (8.2m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/site-editor/navigation-sidebar-list-view.spec.js:151:2 › Navigation sidebar - list view editing › does not select blocks in the canvas preview when editing from the sidebar 3 skipped 194 passed (9.5m)
🎭 Playwright Run Summary
2 flaky [chromium] › specs/editor/various/editable-root-compat.spec.js:254:2 › Editable root block event handler compatibility › does not double up an event React already delivers [chromium] › specs/editor/various/revisions.spec.js:17:2 › Post revisions › should restore an older revision 358 passed (9.4m)
🎭 Playwright Run Summary
377 passed (9.7m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/editor/various/writing-flow.spec.js:1439:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern 1 skipped 357 passed (10.0m)
🎭 Playwright Run Summary
2 skipped 348 passed (11.5m)
🎭 Playwright Run Summary
1 skipped 358 passed (12.0m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/interactivity/router-navigation-lifecycle.spec.ts:660:4 › Router navigation lifecycle › Region-mode lifecycle, end timing, settlement and failure › an uncached back/forward traversal produces no lifecycle cycle, and discharges the reading to idle as it reloads › a navigation superseded by the traversal discharges to idle 359 passed (11.7m)
🎭 Playwright Run Summary
15 skipped 362 passed (13.0m)

Artifacts

Produced during runtime
Name Size Digest
blob-reports-merged
19.9 MB
sha256:4c1118e477fddea9fdb5b852bc721ccb6757c710f73eb74991e486973c3a9b72
build-output
104 MB
sha256:114a4d3bfb770076771ac399be163619bce9dff652764c04456373922415f1bd
flaky-tests-report
5.08 KB
sha256:43321834835a61ec3d195de7979286eb2bac44dbf354bb1752ee608a71de6970
pr-meta--flaky-tests
1.43 KB
sha256:b0854a86a003d65e13bd209df1bd1c5af13a1f0f6d2caf7b9cd4b27b78a83692