Block Bindings: Prepare the ground to define fieldsList on the server. #122329
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L784
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:767:3 › Registered sources › fields › should be possible to update attribute value through bindings UI
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
782 | .getByRole( 'menuitemradio' )
783 | .filter( { hasText: 'Text Field Label' } )
> 784 | .click();
| ^
785 | const paragraphBlock = editor.canvas.getByRole( 'document', {
786 | name: 'Block: Paragraph',
787 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:784:6
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L784
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:767:3 › Registered sources › fields › should be possible to update attribute value through bindings UI
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
782 | .getByRole( 'menuitemradio' )
783 | .filter( { hasText: 'Text Field Label' } )
> 784 | .click();
| ^
785 | const paragraphBlock = editor.canvas.getByRole( 'document', {
786 | name: 'Block: Paragraph',
787 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:784:6
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L784
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:767:3 › Registered sources › fields › should be possible to update attribute value through bindings UI
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
782 | .getByRole( 'menuitemradio' )
783 | .filter( { hasText: 'Text Field Label' } )
> 784 | .click();
| ^
785 | const paragraphBlock = editor.canvas.getByRole( 'document', {
786 | name: 'Block: Paragraph',
787 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:784:6
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L920
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:898:3 › Registered sources › fields › should show all the available fields in the dropdown UI
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
918 | .getByRole( 'menuitemradio' )
919 | .filter( { hasText: 'Text Field Label' } );
> 920 | await expect( textField ).toBeVisible();
| ^
921 | await expect( textField ).toBeChecked();
922 | const urlField = page
923 | .getByRole( 'menuitemradio' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:920:30
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L920
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:898:3 › Registered sources › fields › should show all the available fields in the dropdown UI
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
918 | .getByRole( 'menuitemradio' )
919 | .filter( { hasText: 'Text Field Label' } );
> 920 | await expect( textField ).toBeVisible();
| ^
921 | await expect( textField ).toBeChecked();
922 | const urlField = page
923 | .getByRole( 'menuitemradio' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:920:30
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L920
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:898:3 › Registered sources › fields › should show all the available fields in the dropdown UI
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('menuitemradio').filter({ hasText: 'Text Field Label' })
918 | .getByRole( 'menuitemradio' )
919 | .filter( { hasText: 'Text Field Label' } );
> 920 | await expect( textField ).toBeVisible();
| ^
921 | await expect( textField ).toBeChecked();
922 | const urlField = page
923 | .getByRole( 'menuitemradio' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:920:30
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L949
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:928:3 › Registered sources › fields › should show the connected fields in the attributes panel
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'content' })
Expected string: "Text Field Label"
Received string: "contentComplete Source"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'content' })
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item caaaf--ab-ae-ab-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
947 | name: 'content',
948 | } );
> 949 | await expect( contentButton ).toContainText( 'Text Field Label' );
| ^
950 | } );
951 | } );
952 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:949:34
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L949
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:928:3 › Registered sources › fields › should show the connected fields in the attributes panel
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'content' })
Expected string: "Text Field Label"
Received string: "contentComplete Source"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'content' })
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item cbfc-e-f-b-dbecce-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
947 | name: 'content',
948 | } );
> 949 | await expect( contentButton ).toContainText( 'Text Field Label' );
| ^
950 | } );
951 | } );
952 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:949:34
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L949
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:928:3 › Registered sources › fields › should show the connected fields in the attributes panel
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: getByRole('button', { name: 'content' })
Expected string: "Text Field Label"
Received string: "contentComplete Source"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for getByRole('button', { name: 'content' })
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
- locator resolved to <button id=":r1l:" type="button" data-wp-c16t="true" aria-haspopup="menu" aria-expanded="false" data-wp-component="Item" class="components-item aed-b-a-df-ebbc-1e0ti6b e19lxcc00">…</button>
- unexpected value "contentComplete Source"
947 | name: 'content',
948 | } );
> 949 | await expect( contentButton ).toContainText( 'Text Field Label' );
| ^
950 | } );
951 | } );
952 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:949:34
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L1100
4) [chromium] › editor/various/block-bindings/custom-sources.spec.js:1074:3 › Registered sources › RichText workflows › should show placeholder prompt when value is empty and can edit
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Empty empty_field; start writing to edit its value' }).locator('span')
Expected string: "Add Empty Field Label"
Received string: "Add Complete Source"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Empty empty_field; start writing to edit its value' }).locator('span')
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
- locator resolved to <span data-rich-text-placeholder="Add Complete Source"></span>
- unexpected value "Add Complete Source"
1098 |
1099 | const placeholder = paragraphBlock.locator( 'span' );
> 1100 | await expect( placeholder ).toHaveAttribute(
| ^
1101 | 'data-rich-text-placeholder',
1102 | 'Add Empty Field Label'
1103 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:1100:32
|
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] › editor/various/block-bindings/custom-sources.spec.js:767:3 › Registered sources › fields › should be possible to update attribute value through bindings UI
[chromium] › editor/various/block-bindings/custom-sources.spec.js:898:3 › Registered sources › fields › should show all the available fields in the dropdown UI
[chromium] › editor/various/block-bindings/custom-sources.spec.js:928:3 › Registered sources › fields › should show the connected fields in the attributes panel
[chromium] › editor/various/block-bindings/custom-sources.spec.js:1074:3 › Registered sources › RichText workflows › should show placeholder prompt when value is empty and can edit
[chromium] › editor/various/block-bindings/post-meta.spec.js:292:3 › Post Meta source › Custom template › should not include post meta fields in UI to connect attributes
1 skipped
193 passed (12.2m)
|
Loading