Block Bindings: Explore improving block bindings UI useSelect
logic
#121793
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 2"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:97:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 2"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:97:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
1) [chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 2"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:97:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
2) [chromium] › site-editor/template-part.spec.js:117:2 › Template Part › can convert multiple blocks to a template part
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:146:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
2) [chromium] › site-editor/template-part.spec.js:117:2 › Template Part › can convert multiple blocks to a template part
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:146:16
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/select-blocks.ts#L26
2) [chromium] › site-editor/template-part.spec.js:117:2 › Template Part › can convert multiple blocks to a template part
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.getAttribute: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
at ../../../packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26
24 | : endSelectorOrLocator;
25 |
> 26 | const startClientId = await startBlock.getAttribute( 'data-block' );
| ^
27 | const endClientId = await endBlock?.getAttribute( 'data-block' );
28 |
29 | if ( endClientId ) {
at Editor.selectBlocks (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/select-blocks.ts:26:41)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:146:16
|
Run the tests:
test/e2e/specs/site-editor/template-part.spec.js#L215
3) [chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
213 |
214 | // There should be a paragraph but no header template part.
> 215 | await expect( paragraph ).toBeVisible();
| ^
216 | await expect( templatePartWithParagraph ).toBeHidden();
217 | } );
218 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:215:29
|
Run the tests:
test/e2e/specs/site-editor/template-part.spec.js#L215
3) [chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
213 |
214 | // There should be a paragraph but no header template part.
> 215 | await expect( paragraph ).toBeVisible();
| ^
216 | await expect( templatePartWithParagraph ).toBeHidden();
217 | } );
218 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:215:29
|
Run the tests:
test/e2e/specs/site-editor/template-part.spec.js#L215
3) [chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 3"')
213 |
214 | // There should be a paragraph but no header template part.
> 215 | await expect( paragraph ).toBeVisible();
| ^
216 | await expect( templatePartWithParagraph ).toBeHidden();
217 | } );
218 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:215:29
|
Run the tests:
test/e2e/specs/site-editor/template-part.spec.js#L278
4) [chromium] › site-editor/template-part.spec.js:253:2 › Template Part › doesn't throw a block error when clicking on a link
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('p').locator('text="Test 4"')
276 |
277 | // Highlight all the text in the paragraph block.
> 278 | await paragraph.click( { clickCount: 3 } );
| ^
279 |
280 | // Click the convert to link toolbar button.
281 | await editor.clickBlockToolbarButton( 'Link' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:278:19
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
5 failed
[chromium] › site-editor/template-part.spec.js:79:2 › Template Part › can convert a single block to a template part
[chromium] › site-editor/template-part.spec.js:117:2 › Template Part › can convert multiple blocks to a template part
[chromium] › site-editor/template-part.spec.js:176:2 › Template Part › can detach blocks from a template part
[chromium] › site-editor/template-part.spec.js:253:2 › Template Part › doesn't throw a block error when clicking on a link
[chromium] › site-editor/template-part.spec.js:359:2 › Template Part › Keeps focus in place on undo in template parts
1 flaky
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation
2 skipped
188 passed (9.8m)
|
Loading