Skip to content

Add error handling improvements for upload-media #149382

Add error handling improvements for upload-media

Add error handling improvements for upload-media #149382

Triggered via pull request March 23, 2026 01:51
Status Success
Total duration 28m 37s
Artifacts 4

end2end-test.yml

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

Annotations

2 errors and 8 notices
[chromium] › test/e2e/specs/site-editor/template-revert.spec.js:178:2 › Template Revert › should show the edited content after revert: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › test/e2e/specs/site-editor/template-revert.spec.js:178:2 › Template Revert › should show the edited content after revert, clicking undo in the header toolbar, save and reload Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/wp-json/wp/v2/templates - user-agent: Playwright/1.58.2 (x64; ubuntu 24.04) node/20.20 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 868f040d9a - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1774403728%7Cblay5LSQb67DgwrM6CIQBZSUR0bXxPUUjkWKMEHTpSj%7C74df91f77c9d21b6e70ca3ea2fbd4db4c3ae2eafe13508fef0b576792264c8c3; wp-settings-time-1=1774231355 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119 117 | 118 | try { > 119 | const response = await this.request.fetch( url, { | ^ 120 | ...fetchOptions, 121 | failOnStatusCode: false, 122 | headers: { at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39) at RequestUtils.deleteAllTemplates (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/templates.ts:38:31) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:26:22
[chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted: packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted › Paragraph and Group blocks are available in the inserter TimeoutError: locator.getAttribute: Timeout 10000ms exceeded. Call log: - waiting for locator('[name="editor-canvas"]').contentFrame().getByText('Initial content') at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26 24 | : endSelectorOrLocator; 25 | > 26 | const startClientId = await startBlock.getAttribute( 'data-block' ); | ^ 27 | const endClientId = await endBlock?.getAttribute( 'data-block' ); 28 | 29 | if ( endClientId ) { at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:163:18 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-content-focus-mode.spec.js:159:15
🎭 Playwright Run Summary
1 flaky [chromium] › test/e2e/specs/site-editor/template-revert.spec.js:178:2 › Template Revert › should show the edited content after revert, clicking undo in the header toolbar, save and reload 3 skipped 237 passed (10.0m)
🎭 Playwright Run Summary
3 skipped 236 passed (12.2m)
🎭 Playwright Run Summary
1 flaky [chromium] › test/e2e/specs/editor/various/post-content-focus-mode.spec.js:129:3 › Post Content focus mode › post content inside a template part › post title and content are editable and blocks can be inserted 5 skipped 233 passed (12.1m)
🎭 Playwright Run Summary
1 skipped 239 passed (12.6m)
🎭 Playwright Run Summary
244 passed (13.3m)
🎭 Playwright Run Summary
5 skipped 199 passed (15.4m)
🎭 Playwright Run Summary
6 skipped 273 passed (16.7m)
🎭 Playwright Run Summary
1 skipped 249 passed (20.9m)

Artifacts

Produced during runtime
Name Size Digest
blob-reports-merged
8.44 MB
sha256:7d950ba94a6cae471a87b23bba6c0f4d93fe26eb80530f66b94501fcabc52f51
failures-artifacts
4.62 MB
sha256:55a97513cad70e9440554fcb4dd19d0f7c63808c8f82e1200a36702101c04723
flaky-tests-report
2.52 KB
sha256:8a804a333ebd15f352081fa0dd0c2b67b92285898fdb7e9ba50e3671213ecfd9
html-report--attempt-1
7.67 MB
sha256:253b075146fca961a24f320f01ba21611ea759b60ee5517968b7cf8b6f8c765e