Block Bindings: Explore improving block bindings UI useSelect
logic
#121793
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L40
1) [chromium] › editor/blocks/paragraph.spec.js:22:2 › Paragraph › should output unwrapped editable paragraph
Error: expect(received).toBe(expected) // Object.is equality
Expected: "P"
Received: "DIV"
38 | // additional div wrappers so the markup remains simple and easy to
39 | // style.
> 40 | expect( firstBlockTagName ).toBe( 'P' );
| ^
41 | } );
42 |
43 | test.describe( 'Empty paragraph', () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:40:31
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L40
1) [chromium] › editor/blocks/paragraph.spec.js:22:2 › Paragraph › should output unwrapped editable paragraph
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "P"
Received: "DIV"
38 | // additional div wrappers so the markup remains simple and easy to
39 | // style.
> 40 | expect( firstBlockTagName ).toBe( 'P' );
| ^
41 | } );
42 |
43 | test.describe( 'Empty paragraph', () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:40:31
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L40
1) [chromium] › editor/blocks/paragraph.spec.js:22:2 › Paragraph › should output unwrapped editable paragraph
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "P"
Received: "DIV"
38 | // additional div wrappers so the markup remains simple and easy to
39 | // style.
> 40 | expect( firstBlockTagName ).toBe( 'P' );
| ^
41 | } );
42 |
43 | test.describe( 'Empty paragraph', () => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:40:31
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L92
2) [chromium] › editor/blocks/paragraph.spec.js:62:3 › Paragraph › Empty paragraph › should allow dropping an image on an empty paragraph block
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
Expected pattern: /10x10_e2e_test_image_z9T8jK\.png/
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
90 | );
91 | await expect( imageBlock ).toBeVisible();
> 92 | await expect( imageBlock.locator( 'role=img' ) ).toHaveAttribute(
| ^
93 | 'src',
94 | new RegExp( testImageName.replace( '.', '\\.' ) )
95 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:92:53
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L92
2) [chromium] › editor/blocks/paragraph.spec.js:62:3 › Paragraph › Empty paragraph › should allow dropping an image on an empty paragraph block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
Expected pattern: /10x10_e2e_test_image_z9T8jK\.png/
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
90 | );
91 | await expect( imageBlock ).toBeVisible();
> 92 | await expect( imageBlock.locator( 'role=img' ) ).toHaveAttribute(
| ^
93 | 'src',
94 | new RegExp( testImageName.replace( '.', '\\.' ) )
95 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:92:53
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L92
2) [chromium] › editor/blocks/paragraph.spec.js:62:3 › Paragraph › Empty paragraph › should allow dropping an image on an empty paragraph block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
Expected pattern: /10x10_e2e_test_image_z9T8jK\.png/
Received: <element(s) not found>
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Image"i]').locator('role=img')
90 | );
91 | await expect( imageBlock ).toBeVisible();
> 92 | await expect( imageBlock.locator( 'role=img' ) ).toHaveAttribute(
| ^
93 | 'src',
94 | new RegExp( testImageName.replace( '.', '\\.' ) )
95 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:92:53
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L108
3) [chromium] › editor/blocks/paragraph.spec.js:98:3 › Paragraph › Empty paragraph › should allow dropping blocks on an empty paragraph block
TimeoutError: locator.focus: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('text=My Heading')
106 | } );
107 | await editor.insertBlock( { name: 'core/paragraph' } );
> 108 | await editor.canvas.locator( 'text=My Heading' ).focus();
| ^
109 | await editor.showBlockToolbar();
110 |
111 | const dragHandle = page.locator(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:108:53
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L108
3) [chromium] › editor/blocks/paragraph.spec.js:98:3 › Paragraph › Empty paragraph › should allow dropping blocks on an empty paragraph block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.focus: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('text=My Heading')
106 | } );
107 | await editor.insertBlock( { name: 'core/paragraph' } );
> 108 | await editor.canvas.locator( 'text=My Heading' ).focus();
| ^
109 | await editor.showBlockToolbar();
110 |
111 | const dragHandle = page.locator(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:108:53
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L108
3) [chromium] › editor/blocks/paragraph.spec.js:98:3 › Paragraph › Empty paragraph › should allow dropping blocks on an empty paragraph block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.focus: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('text=My Heading')
106 | } );
107 | await editor.insertBlock( { name: 'core/paragraph' } );
> 108 | await editor.canvas.locator( 'text=My Heading' ).focus();
| ^
109 | await editor.showBlockToolbar();
110 |
111 | const dragHandle = page.locator(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:108:53
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L148
4) [chromium] › editor/blocks/paragraph.spec.js:134:3 › Paragraph › Empty paragraph › should allow dropping HTML on an empty paragraph block
TimeoutError: locator.boundingBox: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('[data-type="core/paragraph"][data-empty="true"]')
146 | '[data-type="core/paragraph"][data-empty="true"]'
147 | );
> 148 | const boundingBox = await emptyParagraph.boundingBox();
| ^
149 | await draggingUtils.dragOver( boundingBox.x, boundingBox.y );
150 |
151 | await expect( draggingUtils.dropZone ).toBeVisible();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:148:45
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
52 failed
[chromium] › editor/blocks/paragraph.spec.js:22:2 › Paragraph › should output unwrapped editable paragraph
[chromium] › editor/blocks/paragraph.spec.js:62:3 › Paragraph › Empty paragraph › should allow dropping an image on an empty paragraph block
[chromium] › editor/blocks/paragraph.spec.js:98:3 › Paragraph › Empty paragraph › should allow dropping blocks on an empty paragraph block
[chromium] › editor/blocks/paragraph.spec.js:134:3 › Paragraph › Empty paragraph › should allow dropping HTML on an empty paragraph block
[chromium] › editor/blocks/preformatted.spec.js:28:2 › Preformatted › should preserve white space when merging
[chromium] › editor/blocks/pullquote.spec.js:11:2 › Quote › can be created by converting a quote and converted back to quote
[chromium] › editor/blocks/quote.spec.js:15:2 › Quote › should allow the user to type right away
[chromium] › editor/blocks/quote.spec.js:31:2 › Quote › can be created by using > at the start of a paragraph block
[chromium] › editor/blocks/quote.spec.js:56:2 › Quote › can be created by typing > in front of text of a paragraph block
[chromium] › editor/blocks/quote.spec.js:76:2 › Quote › can be created by typing "/quote" ──────
[chromium] › editor/blocks/quote.spec.js:93:2 › Quote › can be created by converting a paragraph
[chromium] › editor/blocks/quote.spec.js:111:2 › Quote › can be created by converting multiple paragraphs
[chromium] › editor/blocks/quote.spec.js:141:3 › Quote › can be converted to paragraphs › and renders one paragraph block per <p> within quote
[chromium] › editor/blocks/quote.spec.js:164:3 › Quote › can be converted to paragraphs › and renders a paragraph for the cite, if it exists
[chromium] › editor/blocks/quote.spec.js:225:2 › Quote › can be created by converting a heading
[chromium] › editor/blocks/quote.spec.js:241:2 › Quote › can be converted to a pullquote ───────
[chromium] › editor/blocks/quote.spec.js:257:2 › Quote › can be split at the end ───────────────
[chromium] › editor/blocks/quote.spec.js:290:2 › Quote › can be unwrapped on Backspace ─────────
[chromium] › editor/blocks/quote.spec.js:303:2 › Quote › can be unwrapped with content on Backspace
[chromium] › editor/blocks/separator.spec.js:11:2 › Separator › can be created by three dashes and enter
[chromium] › editor/blocks/spacer.spec.js:11:2 › Spacer › can be created by typing "/spacer" ───
[chromium] › editor/blocks/spacer.spec.js:22:2 › Spacer › can be resized using the drag handle and remains selected after being dragged
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/verse › should exit on triple Enter and merge back
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/code › should exit on triple Enter and merge back
[chromium] › editor/blocks/verse-code-preformatted.spec.js:13:3 › core/preformatted › should exit on triple Enter and merge back
[chromium] › editor/plugins/annotations.spec.js:31:2 › Annotations › allows a block to be annotated
[chromium] › editor/plugins/annotations.spec.js:61:2 › Annotations › keeps the cursor in the same location when applying annotation
[chromium] › editor/plugins/annotations.spec.js:87:2 › Annotations › moves when typing before it
[chromium] › editor/plugins/annotations.spec.js:125:2 › Annotations › grows when typing inside it
[chromium] › editor/plugins/block-variations.spec.js:47:2 › Block variations › Insert the overridden default Quote block variation
[chromium] › editor/plugins/block-variations.spec.js:83:2 › Block variations › Insert the Success Message block variation
[chromium] › editor/plugins/block-variations.spec.js:100:2 › Block variations › Pick the additional variation in the inserted Columns block
[chromium] › editor/plugins/block-variations.spec.js:123:2 › Block variations › should show block information when no matching variation is found
[chromium] › editor/plugins/block-variations.spec.js:160:2 › Block variations
|
Loading