Block bindings: allow editing post meta (new API) #101995
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L112
1) [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › should lock the appropriate controls with a registered source
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
110 | name: 'Bold',
111 | } )
> 112 | ).toBeHidden();
| ^
113 |
114 | // Paragraph is not editable.
115 | await expect( paragraphBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:112:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L112
1) [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › should lock the appropriate controls with a registered source
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
110 | name: 'Bold',
111 | } )
> 112 | ).toBeHidden();
| ^
113 |
114 | // Paragraph is not editable.
115 | await expect( paragraphBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:112:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L112
1) [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › should lock the appropriate controls with a registered source
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r18:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
110 | name: 'Bold',
111 | } )
> 112 | ).toBeHidden();
| ^
113 |
114 | // Paragraph is not editable.
115 | await expect( paragraphBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:112:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L229
2) [chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › should lock the appropriate controls with a registered source
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
227 | name: 'Bold',
228 | } )
> 229 | ).toBeHidden();
| ^
230 |
231 | // Heading is not editable.
232 | await expect( headingBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:229:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L229
2) [chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › should lock the appropriate controls with a registered source
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
227 | name: 'Bold',
228 | } )
> 229 | ).toBeHidden();
| ^
230 |
231 | // Heading is not editable.
232 | await expect( headingBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:229:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L229
2) [chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › should lock the appropriate controls with a registered source
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r1a:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
227 | name: 'Bold',
228 | } )
> 229 | ).toBeHidden();
| ^
230 |
231 | // Heading is not editable.
232 | await expect( headingBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:229:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L362
3) [chromium] › editor/various/block-bindings.spec.js:316:4 › Block bindings › Template context › Button › should lock text controls when text is bound to a registered source
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
360 | name: 'Bold',
361 | } )
> 362 | ).toBeHidden();
| ^
363 |
364 | // Button is not editable.
365 | await expect( buttonBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:362:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L362
3) [chromium] › editor/various/block-bindings.spec.js:316:4 › Block bindings › Template context › Button › should lock text controls when text is bound to a registered source
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
360 | name: 'Bold',
361 | } )
> 362 | ).toBeHidden();
| ^
363 |
364 | // Button is not editable.
365 | await expect( buttonBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:362:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L362
3) [chromium] › editor/various/block-bindings.spec.js:316:4 › Block bindings › Template context › Button › should lock text controls when text is bound to a registered source
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Bold' })
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3h:" type="button" tabindex="-1" aria-labe…>…</button>
- unexpected value "visible"
360 | name: 'Bold',
361 | } )
> 362 | ).toBeHidden();
| ^
363 |
364 | // Button is not editable.
365 | await expect( buttonBlock ).toHaveAttribute(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:362:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L492
4) [chromium] › editor/various/block-bindings.spec.js:440:4 › Block bindings › Template context › Button › should lock url controls when url is bound to a registered source
Error: Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Link' })
Expected: hidden
Received: visible
Call log:
- expect.toBeHidden with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Link' })
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
- locator resolved to <button id=":r3b:" name="link" type="button" tabindex="-…>…</button>
- unexpected value "visible"
490 | .getByRole( 'toolbar', { name: 'Block tools' } )
491 | .getByRole( 'button', { name: 'Link' } )
> 492 | ).toBeHidden();
| ^
493 | await expect(
494 | page
495 | .getByRole( 'toolbar', { name: 'Block tools' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:492:7
|
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
20 failed
[chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › should lock the appropriate controls with a registered source
[chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › should lock the appropriate controls with a registered source
[chromium] › editor/various/block-bindings.spec.js:316:4 › Block bindings › Template context › Button › should lock text controls when text is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:440:4 › Block bindings › Template context › Button › should lock url controls when url is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:560:4 › Block bindings › Template context › Button › should lock url and text controls when both are bound
[chromium] › editor/various/block-bindings.spec.js:646:4 › Block bindings › Template context › Image › should NOT show the upload form when url is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:702:4 › Block bindings › Template context › Image › should lock url controls when url is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:840:4 › Block bindings › Template context › Image › should disable alt textarea when alt is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:966:4 › Block bindings › Template context › Image › should disable title input when title is bound to a registered source
[chromium] › editor/various/block-bindings.spec.js:1092:4 › Block bindings › Template context › Image › Multiple bindings should lock the appropriate controls
[chromium] › editor/various/block-bindings.spec.js:1171:4 › Block bindings › Post/page context › Paragraph › should show the value of the custom field when exists
[chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Paragraph › should show the value of the key when custom field doesn't exist
[chromium] › editor/various/block-bindings.spec.js:1316:4 › Block bindings › Post/page context › Paragraph › should add empty paragraph block when pressing enter
[chromium] › editor/various/block-bindings.spec.js:1348:4 › Block bindings › Post/page context › Heading › should show the value of the custom field
[chromium] › editor/various/block-bindings.spec.js:1390:4 › Block bindings › Post/page context › Heading › should add empty paragraph block when pressing enter
[chromium] › editor/various/block-bindings.spec.js:1432:4 › Block bindings › Post/page context › Button › should show the value of the custom field when text is bound
[chromium] › editor/various/block-bindings.spec.js:1570:4 › Block bindings › Post/page context › Button › should add empty button block when pressing enter
[chromium] › editor/various/block-bindings.spec.js:1691:4 › Block bindings › Post/page context › Image › should show value of the custom field in the alt textarea when alt is bound
[chromium] › editor/various/block-bindings.spec.js:1757:4 › Block bindings › Post/page context › Image › should show value of the custom field in the title input when title is bound
[chromium] › editor/various/block-bindings.spec.js:1833:4 › Block bindings › Post/page context › Image › Multiple bindings should show the value of the custom fields
1 skipped
157 passed (17.5m)
|
Loading