[pull] trunk from WordPress:trunk #2925
Annotations
1 error, 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 - 8
+ Received + 9
- <!-- wp:template-part {"slug":"header","theme":"emptytheme","tagName":"header"} /-->
+ <!-- wp:template-part {"slug":"header","tagName":"header","theme":"emptytheme"} /-->
-
- <!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","sticky":"","perPage":10}} -->
+ <!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","sticky":""}} -->
- <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
|
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
1 flaky
[chromium] › site-editor/template-revert.spec.js:82:2 › Template Revert › should show the original content after revert and page reload
2 skipped
200 passed (5.6m)
|
Loading