Lazy load block edit functions #98655
Annotations
11 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L745
1) [chromium] › editor/various/rich-text.spec.js:714:2 › RichText (@Firefox, @WebKit) › should paste list contents into paragraph
Error: expect(received).toMatchObject(expected)
- Expected - 36
+ Received + 5
@@ -1,49 +1,18 @@
Array [
Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "1",
- },
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
"attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
+ "content": "<br>",
+ "ordered": false,
+ "values": "",
},
- Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1",
+ "content": "1<br> 2",
},
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
},
743 | await pageUtils.pressKeys( 'primary+v' );
744 |
> 745 | expect( await editor.getBlocks() ).toMatchObject(
| ^
746 | Array( 2 ).fill( {
747 | name: 'core/list',
748 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:745:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L745
1) [chromium] › editor/various/rich-text.spec.js:714:2 › RichText (@Firefox, @WebKit) › should paste list contents into paragraph
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 36
+ Received + 5
@@ -1,49 +1,18 @@
Array [
Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "1",
- },
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
"attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
+ "content": "<br>",
+ "ordered": false,
+ "values": "",
},
- Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1",
+ "content": "1<br> 2",
},
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
},
743 | await pageUtils.pressKeys( 'primary+v' );
744 |
> 745 | expect( await editor.getBlocks() ).toMatchObject(
| ^
746 | Array( 2 ).fill( {
747 | name: 'core/list',
748 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:745:38
|
Run the tests:
test/e2e/specs/editor/various/rich-text.spec.js#L745
1) [chromium] › editor/various/rich-text.spec.js:714:2 › RichText (@Firefox, @WebKit) › should paste list contents into paragraph
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 36
+ Received + 5
@@ -1,49 +1,18 @@
Array [
Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "1",
- },
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
"attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
+ "content": "<br>",
+ "ordered": false,
+ "values": "",
},
- Object {
"innerBlocks": Array [
Object {
"attributes": Object {
- "content": "1",
+ "content": "1<br> 2",
},
- "innerBlocks": Array [
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "2",
- },
- "name": "core/list-item",
- },
- ],
- "name": "core/list",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list-item",
},
],
"name": "core/list",
},
743 | await pageUtils.pressKeys( 'primary+v' );
744 |
> 745 | expect( await editor.getBlocks() ).toMatchObject(
| ^
746 | Array( 2 ).fill( {
747 | name: 'core/list',
748 | innerBlocks: [
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:745:38
|
Run the tests:
test/e2e/specs/editor/various/splitting-merging.spec.js#L433
2) [chromium] › editor/various/splitting-merging.spec.js:423:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on forward delete
Error: expect(received).toMatchObject(expected)
- Expected - 10
+ Received + 3
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "hiitem 1",
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "item 1",
+ "content": "item 2",
},
"name": "core/paragraph",
},
- Object {
- "innerBlocks": Array [
Object {
- "attributes": Object {
- "content": "item 2",
- },
- "name": "core/list-item",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list",
},
]
431 | await page.keyboard.press( 'Delete' );
432 |
> 433 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
434 |
435 | await page.keyboard.press( 'Delete' );
436 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:433:39
|
Run the tests:
test/e2e/specs/editor/various/splitting-merging.spec.js#L433
2) [chromium] › editor/various/splitting-merging.spec.js:423:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on forward delete
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 10
+ Received + 3
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "hiitem 1",
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "item 1",
+ "content": "item 2",
},
"name": "core/paragraph",
},
- Object {
- "innerBlocks": Array [
Object {
- "attributes": Object {
- "content": "item 2",
- },
- "name": "core/list-item",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list",
},
]
431 | await page.keyboard.press( 'Delete' );
432 |
> 433 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
434 |
435 | await page.keyboard.press( 'Delete' );
436 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:433:39
|
Run the tests:
test/e2e/specs/editor/various/splitting-merging.spec.js#L433
2) [chromium] › editor/various/splitting-merging.spec.js:423:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on forward delete
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 10
+ Received + 3
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "hiitem 1",
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "item 1",
+ "content": "item 2",
},
"name": "core/paragraph",
},
- Object {
- "innerBlocks": Array [
Object {
- "attributes": Object {
- "content": "item 2",
- },
- "name": "core/list-item",
- },
- ],
+ "innerBlocks": Array [],
"name": "core/list",
},
]
431 | await page.keyboard.press( 'Delete' );
432 |
> 433 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
434 |
435 | await page.keyboard.press( 'Delete' );
436 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:433:39
|
Run the tests:
test/e2e/specs/editor/various/splitting-merging.spec.js#L454
3) [chromium] › editor/various/splitting-merging.spec.js:443:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
Error: expect(received).toMatchObject(expected)
- Expected - 13
+ Received + 6
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "item 2",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "item 1",
- },
- "name": "core/paragraph",
- },
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "item 2",
- },
- "name": "core/list-item",
+ "ordered": false,
+ "values": "",
},
- ],
+ "innerBlocks": Array [],
"name": "core/list",
},
]
452 | await page.keyboard.press( 'Backspace' );
453 |
> 454 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
455 |
456 | await page.keyboard.press( 'Backspace' );
457 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:454:39
|
Run the tests:
test/e2e/specs/editor/various/splitting-merging.spec.js#L454
3) [chromium] › editor/various/splitting-merging.spec.js:443:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 13
+ Received + 6
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "item 2",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "item 1",
- },
- "name": "core/paragraph",
- },
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "item 2",
- },
- "name": "core/list-item",
+ "ordered": false,
+ "values": "",
},
- ],
+ "innerBlocks": Array [],
"name": "core/list",
},
]
452 | await page.keyboard.press( 'Backspace' );
453 |
> 454 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
455 |
456 | await page.keyboard.press( 'Backspace' );
457 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:454:39
|
Run the tests:
test/e2e/specs/editor/various/splitting-merging.spec.js#L454
3) [chromium] › editor/various/splitting-merging.spec.js:443:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 13
+ Received + 6
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "item 2",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
Object {
"attributes": Object {
- "content": "item 1",
- },
- "name": "core/paragraph",
- },
- Object {
- "innerBlocks": Array [
- Object {
- "attributes": Object {
- "content": "item 2",
- },
- "name": "core/list-item",
+ "ordered": false,
+ "values": "",
},
- ],
+ "innerBlocks": Array [],
"name": "core/list",
},
]
452 | await page.keyboard.press( 'Backspace' );
453 |
> 454 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
455 |
456 | await page.keyboard.press( 'Backspace' );
457 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:454:39
|
Run the tests:
test/e2e/specs/editor/various/toolbar-roving-tabindex.spec.js#L188
4) [chromium] › editor/various/toolbar-roving-tabindex.spec.js:23:2 › Toolbar roving tabindex › ensures base block toolbars use roving tabindex
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Block: Group"
Received: null
186 | } );
187 | }
> 188 | expect( ariaLabel ).toBe( label );
| ^
189 | }
190 |
191 | async wrapCurrentBlockWithGroup( currentBlockTitle ) {
at ToolbarRovingTabindexUtils.expectLabelToHaveFocus (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/toolbar-roving-tabindex.spec.js:188:23)
at ToolbarRovingTabindexUtils.testGroupKeyboardNavigation (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/toolbar-roving-tabindex.spec.js:197:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/toolbar-roving-tabindex.spec.js:39:3
|
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
|
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
8 failed
[chromium] › editor/various/rich-text.spec.js:714:2 › RichText (@Firefox, @WebKit) › should paste list contents into paragraph
[chromium] › editor/various/splitting-merging.spec.js:423:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on forward delete
[chromium] › editor/various/splitting-merging.spec.js:443:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
[chromium] › editor/various/toolbar-roving-tabindex.spec.js:23:2 › Toolbar roving tabindex › ensures base block toolbars use roving tabindex
[chromium] › editor/various/validate-multiple-use.spec.js:12:2 › Validate multiple use › should display correct number of warning messages
[chromium] › editor/various/writing-flow.spec.js:777:2 › Writing Flow (@Firefox, @WebKit) › should extend selection into paragraph for list with longer last item
[chromium] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
[chromium] › site-editor/navigation.spec.js:21:2 › Site editor navigation › Can use keyboard to navigate the site editor
173 passed (10.3m)
|
Loading