Lazy load block edit functions #96285
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L78
1) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- 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":"","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 -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
76 | const contentAfter =
77 | await templateRevertUtils.getCurrentSiteEditorContent();
> 78 | expect( contentAfter ).toEqual( contentBefore );
| ^
79 | } );
80 |
81 | test( 'should show the original content after revert and page reload', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:78:26
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L78
1) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- 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":"","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 -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
76 | const contentAfter =
77 | await templateRevertUtils.getCurrentSiteEditorContent();
> 78 | expect( contentAfter ).toEqual( contentBefore );
| ^
79 | } );
80 |
81 | test( 'should show the original content after revert and page reload', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:78:26
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L78
1) [chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 8
+ Received + 7
- <!-- 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":""}} -->
- <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 -->
-
76 | const contentAfter =
77 | await templateRevertUtils.getCurrentSiteEditorContent();
> 78 | expect( contentAfter ).toEqual( contentBefore );
| ^
79 | } );
80 |
81 | test( 'should show the original content after revert and page reload', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:78:26
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L187
2) [chromium] › site-editor/template-revert.spec.js:158: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 - 8
+ Received + 7
- <!-- 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":""}} -->
- <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 -->
-
185 | const contentAfterRedo =
186 | await templateRevertUtils.getCurrentSiteEditorContent();
> 187 | expect( contentAfterRedo ).toEqual( contentBefore );
| ^
188 | } );
189 |
190 | test( 'should show the original content after revert, clicking undo in the notice then undo in the header toolbar', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:187:30
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L187
2) [chromium] › site-editor/template-revert.spec.js:158:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- 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":"","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 -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
185 | const contentAfterRedo =
186 | await templateRevertUtils.getCurrentSiteEditorContent();
> 187 | expect( contentAfterRedo ).toEqual( contentBefore );
| ^
188 | } );
189 |
190 | test( 'should show the original content after revert, clicking undo in the notice then undo in the header toolbar', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:187:30
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L187
2) [chromium] › site-editor/template-revert.spec.js:158:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- 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":"","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 -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
185 | const contentAfterRedo =
186 | await templateRevertUtils.getCurrentSiteEditorContent();
> 187 | expect( contentAfterRedo ).toEqual( contentBefore );
| ^
188 | } );
189 |
190 | test( 'should show the original content after revert, clicking undo in the notice then undo in the header toolbar', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-revert.spec.js:187:30
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L224
3) [chromium] › site-editor/template-revert.spec.js:190:2 › Template Revert › should show the original content after revert, clicking undo in the notice then undo in the header toolbar
Error: expect(received).toEqual(expected) // deep equality
- Expected - 8
+ Received + 7
- <!-- 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":""}} -->
- <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 -->
-
222 | const contentAfterSecondUndo =
223 | await templateRevertUtils.getCurrentSiteEditorContent();
> 224 | expect( contentAfterSecondUndo ).toEqual( contentBefore );
| ^
225 | } );
226 |
227 | 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:224:36
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L224
3) [chromium] › site-editor/template-revert.spec.js:190:2 › Template Revert › should show the original content after revert, clicking undo in the notice then undo in the header toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- 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":"","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 -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
222 | const contentAfterSecondUndo =
223 | await templateRevertUtils.getCurrentSiteEditorContent();
> 224 | expect( contentAfterSecondUndo ).toEqual( contentBefore );
| ^
225 | } );
226 |
227 | 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:224:36
|
Run the tests:
test/e2e/specs/site-editor/template-revert.spec.js#L224
3) [chromium] › site-editor/template-revert.spec.js:190:2 › Template Revert › should show the original content after revert, clicking undo in the notice then undo in the header toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -1,8 +1,8 @@
<!-- 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":"","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 -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
222 | const contentAfterSecondUndo =
223 | await templateRevertUtils.getCurrentSiteEditorContent();
> 224 | expect( contentAfterSecondUndo ).toEqual( contentBefore );
| ^
225 | } );
226 |
227 | 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:224:36
|
Run the tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
3 failed
[chromium] › site-editor/template-revert.spec.js:61:2 › Template Revert › should show the original content after revert
[chromium] › site-editor/template-revert.spec.js:158:2 › Template Revert › should show the original content after revert, clicking undo then redo in the header toolbar
[chromium] › site-editor/template-revert.spec.js:190:2 › Template Revert › should show the original content after revert, clicking undo in the notice then undo in the header toolbar
4 skipped
129 passed (6.9m)
|
The logs for this run have expired and are no longer available.
Loading