Add a “waitForTransition” data API #123669
Annotations
1 error, 2 warnings, and 1 notice
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L165
1) [chromium] › site-editor/template-revert.spec.js:135:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
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 -->
-
163 | const contentAfterRedo =
164 | await templateRevertUtils.getCurrentSiteEditorContent();
> 165 | expect( contentAfterRedo ).toEqual( contentBefore );
| ^
166 | } );
167 |
168 | test( 'should show the edited content after revert, clicking undo in the header toolbar, save and reload', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:165:30
|
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:135:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
2 skipped
200 passed (5.9m)
|
Loading