Lazy load block edit functions #98655
Annotations
11 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L446
1) [webkit] › 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
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: 'Add block' })
============================================================
444 | name: 'Add block',
445 | } )
> 446 | .click();
| ^
447 | await page.getByRole( 'button', { name: 'Browse All' } ).click();
448 | await page
449 | .getByRole( 'listbox', { name: 'Media' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:446:5
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L446
1) [webkit] › 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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: 'Add block' })
============================================================
444 | name: 'Add block',
445 | } )
> 446 | .click();
| ^
447 | await page.getByRole( 'button', { name: 'Browse All' } ).click();
448 | await page
449 | .getByRole( 'listbox', { name: 'Media' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:446:5
|
Run the tests:
test/e2e/specs/editor/various/inserting-blocks.spec.js#L446
1) [webkit] › 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
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: 'Add block' })
============================================================
444 | name: 'Add block',
445 | } )
> 446 | .click();
| ^
447 | await page.getByRole( 'button', { name: 'Browse All' } ).click();
448 | await page
449 | .getByRole( 'listbox', { name: 'Media' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:446:5
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L452
2) [webkit] › editor/various/multi-block-selection.spec.js:424:2 › Multi-block selection (@Firefox, @WebKit) › should select by dragging into nested block
TypeError: Cannot read properties of undefined (reading 'hover')
450 | await paragraph1.hover();
451 | await page.mouse.down();
> 452 | await paragraph2.hover();
| ^
453 | await page.mouse.up();
454 |
455 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:452:20
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L452
2) [webkit] › editor/various/multi-block-selection.spec.js:424:2 › Multi-block selection (@Firefox, @WebKit) › should select by dragging into nested block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'hover')
450 | await paragraph1.hover();
451 | await page.mouse.down();
> 452 | await paragraph2.hover();
| ^
453 | await page.mouse.up();
454 |
455 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:452:20
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L452
2) [webkit] › editor/various/multi-block-selection.spec.js:424:2 › Multi-block selection (@Firefox, @WebKit) › should select by dragging into nested block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'hover')
450 | await paragraph1.hover();
451 | await page.mouse.down();
> 452 | await paragraph2.hover();
| ^
453 | await page.mouse.up();
454 |
455 | await expect
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:452:20
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1236
3) [webkit] › editor/various/multi-block-selection.spec.js:1210:2 › Multi-block selection (@Firefox, @WebKit) › should select separator (single element block)
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 10
Array [
Object {
"attributes": Object {
- "content": "|",
+ "content": "a|",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {
+ "opacity": "alpha-channel",
+ },
+ "innerBlocks": Array [],
+ "name": "core/separator",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1234 | // Ensure selection is in the correct place.
1235 | await page.keyboard.type( '|' );
> 1236 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1237 | {
1238 | name: 'core/paragraph',
1239 | attributes: { content: '|' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1236:41
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1236
3) [webkit] › editor/various/multi-block-selection.spec.js:1210:2 › Multi-block selection (@Firefox, @WebKit) › should select separator (single element block)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 10
Array [
Object {
"attributes": Object {
- "content": "|",
+ "content": "a|",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {
+ "opacity": "alpha-channel",
+ },
+ "innerBlocks": Array [],
+ "name": "core/separator",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1234 | // Ensure selection is in the correct place.
1235 | await page.keyboard.type( '|' );
> 1236 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1237 | {
1238 | name: 'core/paragraph',
1239 | attributes: { content: '|' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1236:41
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1236
3) [webkit] › editor/various/multi-block-selection.spec.js:1210:2 › Multi-block selection (@Firefox, @WebKit) › should select separator (single element block)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 10
Array [
Object {
"attributes": Object {
- "content": "|",
+ "content": "a|",
+ "dropCap": false,
},
+ "innerBlocks": Array [],
"name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {
+ "opacity": "alpha-channel",
+ },
+ "innerBlocks": Array [],
+ "name": "core/separator",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1234 | // Ensure selection is in the correct place.
1235 | await page.keyboard.type( '|' );
> 1236 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1237 | {
1238 | name: 'core/paragraph',
1239 | attributes: { content: '|' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1236:41
|
Run the tests:
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1318
4) [webkit] › 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
Error: expect(received).toMatchObject(expected)
- Expected - 0
+ Received + 20
Array [
Object {
"attributes": Object {
+ "content": "",
+ "dropCap": false,
+ },
+ "clientId": "00b5eb27-b98b-4c32-a662-dcdde8fe4535",
+ "innerBlocks": Array [],
+ "isValid": true,
+ "name": "core/paragraph",
+ },
+ Object {
+ "attributes": Object {
"content": "hi",
+ "dropCap": false,
},
+ "clientId": "a1bb0a5d-94c2-4f36-a71c-677875454f45",
+ "innerBlocks": Array [],
+ "isValid": true,
"name": "core/paragraph",
},
Object {
+ "attributes": Object {
+ "height": "100px",
+ },
+ "clientId": "f2a24611-acbe-4a46-ad42-6c4c45a408a8",
+ "innerBlocks": Array [],
+ "isValid": true,
"name": "core/spacer",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1316 | await expect
1317 | .poll( multiBlockSelectionUtils.getSelectedBlocks )
> 1318 | .toMatchObject( [
| ^
1319 | { name: 'core/paragraph', attributes: { content: 'hi' } },
1320 | { name: 'core/spacer' },
1321 | ] );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1318:6
|
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
40 failed
[webkit] › 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
[webkit] › editor/various/multi-block-selection.spec.js:424:2 › Multi-block selection (@Firefox, @WebKit) › should select by dragging into nested block
[webkit] › editor/various/multi-block-selection.spec.js:1210:2 › Multi-block selection (@Firefox, @WebKit) › should select separator (single element block)
[webkit] › 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
[webkit] › editor/various/rich-text.spec.js:714:2 › RichText (@Firefox, @WebKit) › should paste list contents into paragraph
[webkit] › 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
[webkit] › 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
[webkit] › editor/various/writing-flow.spec.js:777:2 › Writing Flow (@Firefox, @WebKit) › should extend selection into paragraph for list with longer last item
[webkit] › editor/various/writing-flow.spec.js:904:2 › Writing Flow (@Firefox, @WebKit) › should only consider the content as one tab stop
[firefox] › editor/blocks/list.spec.js:11:2 › List (@Firefox) › can be copied from multi selection
[firefox] › editor/blocks/list.spec.js:41:2 › List (@Firefox) › can be created by using an asterisk at the start of a paragraph block
[firefox] › editor/blocks/list.spec.js:218:2 › List (@Firefox) › should not undo asterisk transform with backspace after typing
[firefox] › editor/blocks/list.spec.js:232:2 › List (@Firefox) › should not undo asterisk transform with backspace after selection change
[firefox] › editor/blocks/list.spec.js:253:2 › List (@Firefox) › can be created by typing "/list"
[firefox] › editor/blocks/list.spec.js:382:2 › List (@Firefox) › can be converted to paragraphs
[firefox] › editor/blocks/list.spec.js:401:2 › List (@Firefox) › can be converted when nested to paragraphs
[firefox] › editor/blocks/list.spec.js:425:2 › List (@Firefox) › can be converted to a quote ───
[firefox] › editor/blocks/list.spec.js:448:2 › List (@Firefox) › should create paragraph on split at end and merge back with content
[firefox] › editor/blocks/list.spec.js:487:2 › List (@Firefox) › should split into two with paragraph and merge lists
[firefox] › editor/blocks/list.spec.js:559:2 › List (@Firefox) › should keep nested list items when merging with paragraph
[firefox] › editor/blocks/list.spec.js:624:2 › List (@Firefox) › should split into two ordered lists with paragraph
[firefox] › editor/blocks/list.spec.js:657:2 › List (@Firefox) › should split indented list item
[firefox] › editor/blocks/list.spec.js:683:2 › List (@Firefox) › should be immediately saved on indentation
[firefox] › editor/blocks/list.spec.js:718:2 › List (@Firefox) › should change the indented list type
[firefox] › editor/blocks/list.spec.js:743:2 › List (@Firefox) › should create paragraph on Enter in quote block
[firefox] › editor/blocks/list.spec.js:769:2 › List (@Firefox) › should indent and outdent level 1
[firefox] › editor/blocks/list.spec.js:803:2 › List (@Firefox) › should indent and outdent level 2
[firefox] › editor/blocks/list.spec.js:869:2 › List (@Firefox) › should outdent with children ──
[firefox] › editor/blocks/list.spec.js:919:2 › List (@Firefox) › should insert a line break on shift+enter
[firefox] › editor/blocks/list.spec.js:937:2 › List (@Firefox) › should insert a line break on shift+enter in a non trailing list item
[firefox] › editor/blocks/list.spec.js:968:2 › List (@Firefox) › sh
|
Loading