Lazy load block edit functions #98655
Annotations
11 errors, 1 warning, and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L47
1) [chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ──────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -5,11 +5,11 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "second paragraph<sup data-fn=\"block-221684ba-584b-4507-84ea-c1da18a0bc12\" class=\"fn\"><a href=\"#block-221684ba-584b-4507-84ea-c1da18a0bc12\" id=\"block-221684ba-584b-4507-84ea-c1da18a0bc12-link\">1</a></sup>",
+ "content": "first footnotesecond paragraph<sup data-fn=\"e0ae8bd4-3a5c-4dd0-83aa-ac809aeb8eb9\" class=\"fn\"><a href=\"#e0ae8bd4-3a5c-4dd0-83aa-ac809aeb8eb9\" id=\"e0ae8bd4-3a5c-4dd0-83aa-ac809aeb8eb9-link\">1</a></sup>",
},
"name": "core/paragraph",
},
Object {
"name": "core/footnotes",
45 | } );
46 |
> 47 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
48 | {
49 | name: 'core/paragraph',
50 | attributes: { content: 'first paragraph' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:47:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L47
1) [chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -5,11 +5,11 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "second paragraph<sup data-fn=\"block-20d983e7-8851-4549-8c93-c710a1d66c05\" class=\"fn\"><a href=\"#block-20d983e7-8851-4549-8c93-c710a1d66c05\" id=\"block-20d983e7-8851-4549-8c93-c710a1d66c05-link\">1</a></sup>",
+ "content": "first footnotesecond paragraph<sup data-fn=\"6e20e9c0-ecf3-490b-8da7-c56eef45753f\" class=\"fn\"><a href=\"#6e20e9c0-ecf3-490b-8da7-c56eef45753f\" id=\"6e20e9c0-ecf3-490b-8da7-c56eef45753f-link\">1</a></sup>",
},
"name": "core/paragraph",
},
Object {
"name": "core/footnotes",
45 | } );
46 |
> 47 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
48 | {
49 | name: 'core/paragraph',
50 | attributes: { content: 'first paragraph' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:47:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L47
1) [chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ──────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -5,11 +5,11 @@
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "second paragraph<sup data-fn=\"block-aeb0cc03-7610-48e3-bb97-27ecfe9beac8\" class=\"fn\"><a href=\"#block-aeb0cc03-7610-48e3-bb97-27ecfe9beac8\" id=\"block-aeb0cc03-7610-48e3-bb97-27ecfe9beac8-link\">1</a></sup>",
+ "content": "first footnotesecond paragraph<sup data-fn=\"c2ac2a27-5e3f-4dac-b564-37fffe8e448c\" class=\"fn\"><a href=\"#c2ac2a27-5e3f-4dac-b564-37fffe8e448c\" id=\"c2ac2a27-5e3f-4dac-b564-37fffe8e448c-link\">1</a></sup>",
},
"name": "core/paragraph",
},
Object {
"name": "core/footnotes",
45 | } );
46 |
> 47 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
48 | {
49 | name: 'core/paragraph',
50 | attributes: { content: 'first paragraph' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:47:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L207
2) [chromium] › editor/various/footnotes.spec.js:193:2 › Footnotes › can be inserted in a list ───
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -1,11 +1,11 @@
Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1<sup data-fn=\"\" class=\"fn\"><a href=\"#\" id=\"-link\">1</a></sup>",
+ "content": "1<sup data-fn=\"767b48ea-a8c6-4a24-99bd-630a5d146e07\" class=\"fn\"><a href=\"#767b48ea-a8c6-4a24-99bd-630a5d146e07\" id=\"767b48ea-a8c6-4a24-99bd-630a5d146e07-link\">1</a></sup>",
},
"name": "core/list-item",
},
],
"name": "core/list",
205 | } );
206 |
> 207 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
208 | {
209 | name: 'core/list',
210 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:207:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L207
2) [chromium] › editor/various/footnotes.spec.js:193:2 › Footnotes › can be inserted in a list ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -1,11 +1,11 @@
Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1<sup data-fn=\"\" class=\"fn\"><a href=\"#\" id=\"-link\">1</a></sup>",
+ "content": "1<sup data-fn=\"2d04cdc5-0bf9-4340-9cff-111ea3d5b00d\" class=\"fn\"><a href=\"#2d04cdc5-0bf9-4340-9cff-111ea3d5b00d\" id=\"2d04cdc5-0bf9-4340-9cff-111ea3d5b00d-link\">1</a></sup>",
},
"name": "core/list-item",
},
],
"name": "core/list",
205 | } );
206 |
> 207 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
208 | {
209 | name: 'core/list',
210 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:207:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L207
2) [chromium] › editor/various/footnotes.spec.js:193:2 › Footnotes › can be inserted in a list ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -1,11 +1,11 @@
Array [
Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1<sup data-fn=\"\" class=\"fn\"><a href=\"#\" id=\"-link\">1</a></sup>",
+ "content": "1<sup data-fn=\"6801da5e-d62f-499c-a190-e1228ccfaf2d\" class=\"fn\"><a href=\"#6801da5e-d62f-499c-a190-e1228ccfaf2d\" id=\"6801da5e-d62f-499c-a190-e1228ccfaf2d-link\">1</a></sup>",
},
"name": "core/list-item",
},
],
"name": "core/list",
205 | } );
206 |
> 207 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
208 | {
209 | name: 'core/list',
210 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:207:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L248
3) [chromium] › editor/various/footnotes.spec.js:232:2 › Footnotes › can be inserted in a table ──
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -3,11 +3,11 @@
"attributes": Object {
"body": Array [
Object {
"cells": Array [
Object {
- "content": "1<sup data-fn=\"\" class=\"fn\"><a href=\"#\" id=\"-link\">1</a></sup>",
+ "content": "a1<sup data-fn=\"ac3bba14-9a83-4404-b56a-b93b8cf97d9c\" class=\"fn\"><a href=\"#ac3bba14-9a83-4404-b56a-b93b8cf97d9c\" id=\"ac3bba14-9a83-4404-b56a-b93b8cf97d9c-link\">1</a></sup>",
"tag": "td",
},
Object {
"content": "",
"tag": "td",
246 | } );
247 |
> 248 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
249 | {
250 | name: 'core/table',
251 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:248:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L248
3) [chromium] › editor/various/footnotes.spec.js:232:2 › Footnotes › can be inserted in a table ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -3,11 +3,11 @@
"attributes": Object {
"body": Array [
Object {
"cells": Array [
Object {
- "content": "1<sup data-fn=\"\" class=\"fn\"><a href=\"#\" id=\"-link\">1</a></sup>",
+ "content": "a1<sup data-fn=\"7a28f48e-0dbd-4480-a70e-4333c071a01c\" class=\"fn\"><a href=\"#7a28f48e-0dbd-4480-a70e-4333c071a01c\" id=\"7a28f48e-0dbd-4480-a70e-4333c071a01c-link\">1</a></sup>",
"tag": "td",
},
Object {
"content": "",
"tag": "td",
246 | } );
247 |
> 248 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
249 | {
250 | name: 'core/table',
251 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:248:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L248
3) [chromium] › editor/various/footnotes.spec.js:232:2 › Footnotes › can be inserted in a table ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -3,11 +3,11 @@
"attributes": Object {
"body": Array [
Object {
"cells": Array [
Object {
- "content": "1<sup data-fn=\"\" class=\"fn\"><a href=\"#\" id=\"-link\">1</a></sup>",
+ "content": "a1<sup data-fn=\"5d04d081-7295-447a-977c-0d506d3ab619\" class=\"fn\"><a href=\"#5d04d081-7295-447a-977c-0d506d3ab619\" id=\"5d04d081-7295-447a-977c-0d506d3ab619-link\">1</a></sup>",
"tag": "td",
},
Object {
"content": "",
"tag": "td",
246 | } );
247 |
> 248 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
249 | {
250 | name: 'core/table',
251 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:248:38
|
Run the tests:
test/e2e/specs/editor/various/footnotes.spec.js#L325
4) [chromium] › editor/various/footnotes.spec.js:293:2 › Footnotes › works with revisions ────────
Error: expect(received).toMatchObject(expected)
- Expected - 4
+ Received + 4
Array [
Object {
- "content": "second footnote",
- "id": "block-38d59d3a-ea0c-4700-9d41-241a3c2a0484",
+ "content": "",
+ "id": "4d9904f5-e9e5-4cb9-a6f9-0421a279e868",
},
Object {
- "content": "first footnote\"",
- "id": "block-749735c6-7064-4ba9-927e-ad8a5e883ccf",
+ "content": "",
+ "id": "a23181d5-1e61-4e5f-bb71-bf148b07a640",
},
]
323 |
324 | // This also saves the post!
> 325 | expect( await getFootnotes( page ) ).toMatchObject( [
| ^
326 | {
327 | content: 'second footnote',
328 | id: id2,
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/footnotes.spec.js:325:40
|
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
20 failed
[chromium] › editor/various/footnotes.spec.js:29:2 › Footnotes › can be inserted ───────────────
[chromium] › editor/various/footnotes.spec.js:193:2 › Footnotes › can be inserted in a list ────
[chromium] › editor/various/footnotes.spec.js:232:2 › Footnotes › can be inserted in a table ───
[chromium] › editor/various/footnotes.spec.js:293:2 › Footnotes › works with revisions ─────────
[chromium] › editor/various/footnotes.spec.js:396:2 › Footnotes › can be previewed when published
[chromium] › editor/various/inserting-blocks.spec.js:412:2 › Inserting blocks (@Firefox, @WebKit) › inserts a block in proper place after having clicked `Browse All` from inline inserter
[chromium] › editor/various/keyboard-navigable-blocks.spec.js:165:2 › Order of block keyboard navigation › allows the first element within a block to receive focus
[chromium] › editor/various/list-view.spec.js:453:2 › List View › should cut, copy, paste, select, duplicate, delete, and deselect blocks using keyboard
[chromium] › editor/various/multi-block-selection.spec.js:424:2 › Multi-block selection (@Firefox, @WebKit) › should select by dragging into nested block
[chromium] › editor/various/multi-block-selection.spec.js:1210:2 › Multi-block selection (@Firefox, @WebKit) › should select separator (single element block)
[chromium] › editor/various/multi-block-selection.spec.js:1296:3 › Multi-block selection (@Firefox, @WebKit) › shift+click multi-selection › should multi-select block with text selection and a block without text selection
[chromium] › editor/various/navigable-toolbar.spec.js:133:2 › Block Toolbar › Block toolbar will scroll to reveal hidden buttons with fixed toolbar
[chromium] › editor/various/navigable-toolbar.spec.js:175:2 › Block Toolbar › Tab order of the block toolbar aligns with visual order
[chromium] › editor/various/navigable-toolbar.spec.js:243:2 › Block Toolbar › Focus should remain on mover when moving blocks
[chromium] › editor/various/patterns.spec.js:188:2 › Synced pattern › can be saved when modified inside of a published post
[chromium] › editor/various/patterns.spec.js:266:2 › Synced pattern › allows conversion back to blocks when the reusable block has unsaved edits
[chromium] › editor/various/patterns.spec.js:535:2 › Synced pattern › should be able to insert a reusable block twice
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
[chromium] › editor/various/post-editor-template-mode.spec.js:110:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
[chromium] › editor/various/preview.spec.js:225:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview
1 skipped
162 passed (20.2m)
|
Loading