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/various/draggable-blocks.spec.js#L44
1) [chromium] › editor/various/draggable-blocks.spec.js:34:2 › Draggable block › can drag and drop to the top of a vertical block list
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
42 |
43 | // Confirm correct setup.
> 44 | await expect.poll( editor.getEditedPostContent )
| ^
45 | .toBe( `<!-- wp:paragraph -->
46 | <p>1</p>
47 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:44:3
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L44
1) [chromium] › editor/various/draggable-blocks.spec.js:34:2 › Draggable block › can drag and drop to the top of a vertical block list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
42 |
43 | // Confirm correct setup.
> 44 | await expect.poll( editor.getEditedPostContent )
| ^
45 | .toBe( `<!-- wp:paragraph -->
46 | <p>1</p>
47 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:44:3
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L44
1) [chromium] › editor/various/draggable-blocks.spec.js:34:2 › Draggable block › can drag and drop to the top of a vertical block list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
42 |
43 | // Confirm correct setup.
> 44 | await expect.poll( editor.getEditedPostContent )
| ^
45 | .toBe( `<!-- wp:paragraph -->
46 | <p>1</p>
47 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:44:3
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L109
2) [chromium] › editor/various/draggable-blocks.spec.js:99:2 › Draggable block › can drag and drop to the bottom of a vertical block list
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
107 |
108 | // Confirm correct setup.
> 109 | await expect.poll( editor.getEditedPostContent )
| ^
110 | .toBe( `<!-- wp:paragraph -->
111 | <p>1</p>
112 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:109:3
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L109
2) [chromium] › editor/various/draggable-blocks.spec.js:99:2 › Draggable block › can drag and drop to the bottom of a vertical block list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
107 |
108 | // Confirm correct setup.
> 109 | await expect.poll( editor.getEditedPostContent )
| ^
110 | .toBe( `<!-- wp:paragraph -->
111 | <p>1</p>
112 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:109:3
|
Run the tests:
test/e2e/specs/editor/various/draggable-blocks.spec.js#L109
2) [chromium] › editor/various/draggable-blocks.spec.js:99:2 › Draggable block › can drag and drop to the bottom of a vertical block list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 2
+ Received + 2
<!-- wp:paragraph -->
- <p>1</p>
+ <p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
- <p>2</p>
+ <p></p>
<!-- /wp:paragraph -->
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
107 |
108 | // Confirm correct setup.
> 109 | await expect.poll( editor.getEditedPostContent )
| ^
110 | .toBe( `<!-- wp:paragraph -->
111 | <p>1</p>
112 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/draggable-blocks.spec.js:109:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/various/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/duplicating-blocks.spec.js:20:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/various/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/duplicating-blocks.spec.js:20:3
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/various/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]')
at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20
18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` );
19 |
> 20 | await button.click();
| ^
21 | }
22 |
at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/duplicating-blocks.spec.js:20:3
|
Run the tests:
test/e2e/specs/editor/various/editor-modes.spec.js#L23
4) [chromium] › editor/various/editor-modes.spec.js:15:2 › Editing modes (visual/HTML) › should switch between visual and HTML modes
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected pattern: /rich-text/
Received string: "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Paragraph" id="block-739f41bb-839f-47c8-9f33-603891dc3821" data-block="739f41bb-839f-47c8-9f33-603891dc3821" class="block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph">…</div>
- unexpected value "block-editor-block-list__block wp-block is-selected has-warning wp-block-paragraph"
- locator resolved to <div tabindex="0" role="document" draggable="true" data-title="Paragraph" data-type="core/paragraph" aria-label="Block: Para
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
93 failed
[chromium] › editor/various/draggable-blocks.spec.js:34:2 › Draggable block › can drag and drop to the top of a vertical block list
[chromium] › editor/various/draggable-blocks.spec.js:99:2 › Draggable block › can drag and drop to the bottom of a vertical block list
[chromium] › editor/various/duplicating-blocks.spec.js:11:2 › Duplicating blocks › should duplicate blocks using the block settings menu and keyboard shortcut
[chromium] › editor/various/editor-modes.spec.js:15:2 › Editing modes (visual/HTML) › should switch between visual and HTML modes
[chromium] › editor/various/editor-modes.spec.js:38:2 › Editing modes (visual/HTML) › should display sidebar in HTML mode
[chromium] › editor/various/editor-modes.spec.js:56:2 › Editing modes (visual/HTML) › should update HTML in HTML mode when sidebar is used
[chromium] › editor/various/font-appearance-control.spec.js:11:2 › Font Appearance Control dropdown menu › should apply available font weight and styles from active font family
[chromium] › editor/various/font-appearance-control.spec.js:64:2 › Font Appearance Control dropdown menu › should apply Default appearance if weight and style are invalid
[chromium] › editor/various/font-size-picker.spec.js:22:3 › Font Size Picker › Common › should apply a custom font size using the font size input
[chromium] › editor/various/font-size-picker.spec.js:44:3 › Font Size Picker › Common › should reset a custom font size using input field
[chromium] › editor/various/font-size-picker.spec.js:136:3 › Font Size Picker › More font sizes › should apply a named font size using the font size buttons
[chromium] › editor/various/font-size-picker.spec.js:158:3 › Font Size Picker › More font sizes › should reset a named font size using the tools panel menu
[chromium] › editor/various/font-size-picker.spec.js:191:3 › Font Size Picker › More font sizes › should reset a named font size using input field
[chromium] › editor/various/font-size-picker.spec.js:229:3 › Font Size Picker › Few font sizes › should apply a named font size using the font size buttons
[chromium] › editor/various/font-size-picker.spec.js:248:3 › Font Size Picker › Few font sizes › should reset a named font size using the tools panel menu
[chromium] › editor/various/font-size-picker.spec.js:278:3 › Font Size Picker › Few font sizes › should reset a named font size using input field
[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:293:2 › Footnotes › works with revisions ─────────
[chromium] › editor/various/footnotes.spec.js:398:2 › Footnotes › can be previewed when published
[chromium] › editor/various/footnotes.spec.js:460:2 › Footnotes › should leave alone other block attributes
[chromium] › editor/various/format-library/text-color.spec.js:11:2 › Format Library - Text color › should remove highlighting element
[chromium] › editor/various/inserting-blocks.spec.js:54:2 › Inserting blocks (@Firefox, @WebKit) › inserts blocks by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:119:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging blocks from the global inserter by pressing Escape
[chromium] › editor/various/inserting-blocks.spec.js:172:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:234:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter
[chromium] › editor/various/inserting-blocks.spec.js:331:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape
[chromium] › editor/various/inserting-blocks.spec.js:416:2 › Inserting blocks (@Firefox, @WebKit) › should i
|
Loading