[pull] trunk from WordPress:trunk #2892
Annotations
2 errors, 2 warnings, and 1 notice
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L102
1) [chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload
Error: expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 8
- <!-- wp:template-part {"slug":"header","tagName":"header","theme":"emptytheme"} /-->
+ <!-- wp:template-part {"slug":"header","theme":"emptytheme","tagName":"header"} /-->
- <!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","sticky":""}} -->
+
+ <!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","sticky":"","perPage":10}} -->
- <div class="wp-block-query">
- <!-- wp:post-template -->
+ <div class="wp-block-query"><!-- wp:post-template -->
- <!-- wp:post-title {"isLink":true} /-->
+ <!-- wp:post-title {"isLink":true} /-->
- <!-- wp:post-excerpt /-->
+
+ <!-- wp:post-excerpt /-->
- <!-- /wp:post-template -->
- </div>
+ <!-- /wp:post-template --></div>
<!-- /wp:query -->
-
100 | const contentAfter =
101 | await templateRevertUtils.getCurrentSiteEditorContent();
> 102 | expect( contentAfter ).toEqual( contentBefore );
| ^
103 | } );
104 |
105 | test( 'should show the edited content after revert and clicking undo in the header toolbar', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:102:26
|
Run the tests:
packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
2) [chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
Error: apiRequestContext.fetch: socket hang up
Call log:
- → GET http://localhost:8889/index.php?rest_route=/wp/v2/sidebars
- user-agent: Playwright/1.49.1 (x64; ubuntu 24.04) node/20.18 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- X-WP-Nonce: a64e2bfea2
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1736542506%7CQ8KoYekw5Bx1kBEGIa8mlRSrarnGW12PgElzbSp9h4j%7C75dfe5eef3c545170ceed70b9bb66a70cf158fa635ad5d43f902047f75944832; wp-settings-time-1=1736370044
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.deleteAllWidgets (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/widgets.js:9:8)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/widgets/editing-widgets.spec.js:29:22
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
2 flaky
[chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload
[chromium] › widgets/editing-widgets.spec.js:44:2 › Widgets screen › Should insert content using the global inserter
2 skipped
199 passed (6.1m)
|
Loading