Block Bindings: Add block context needed for bindings in PHP #96900
Annotations
11 errors, 1 warning, and 1 notice
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L756
1) [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
754 | name: 'Block: Paragraph',
755 | } );
> 756 | await expect( paragraphBlock ).toHaveText(
| ^
757 | 'Value of the text_custom_field'
758 | );
759 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:756:36
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L756
1) [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
754 | name: 'Block: Paragraph',
755 | } );
> 756 | await expect( paragraphBlock ).toHaveText(
| ^
757 | 'Value of the text_custom_field'
758 | );
759 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:756:36
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L756
1) [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
754 | name: 'Block: Paragraph',
755 | } );
> 756 | await expect( paragraphBlock ).toHaveText(
| ^
757 | 'Value of the text_custom_field'
758 | );
759 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:756:36
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L798
2) [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "non_existing_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
796 | name: 'Block: Paragraph',
797 | } );
> 798 | await expect( paragraphBlock ).toHaveText(
| ^
799 | 'non_existing_custom_field'
800 | );
801 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:798:36
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L798
2) [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "non_existing_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
796 | name: 'Block: Paragraph',
797 | } );
> 798 | await expect( paragraphBlock ).toHaveText(
| ^
799 | 'non_existing_custom_field'
800 | );
801 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:798:36
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L798
2) [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
Expected string: "non_existing_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
796 | name: 'Block: Paragraph',
797 | } );
> 798 | await expect( paragraphBlock ).toHaveText(
| ^
799 | 'non_existing_custom_field'
800 | );
801 | // Paragraph is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:798:36
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L838
3) [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
836 | name: 'Block: Heading',
837 | } );
> 838 | await expect( headingBlock ).toHaveText(
| ^
839 | 'Value of the text_custom_field'
840 | );
841 | // Heading is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:838:33
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L838
3) [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
836 | name: 'Block: Heading',
837 | } );
> 838 | await expect( headingBlock ).toHaveText(
| ^
839 | 'Value of the text_custom_field'
840 | );
841 | // Heading is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:838:33
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L838
3) [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
Expected string: "Value of the text_custom_field"
Received string: "This block has encountered an error and cannot be previewed."
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' })
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
- locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div>
- unexpected value "This block has encountered an error and cannot be previewed."
836 | name: 'Block: Heading',
837 | } );
> 838 | await expect( headingBlock ).toHaveText(
| ^
839 | 'Value of the text_custom_field'
840 | );
841 | // Heading is not editable.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:838:33
|
Run the tests:
test/e2e/specs/editor/various/block-bindings.spec.js#L888
4) [chromium] › editor/various/block-bindings.spec.js:857:4 › Block bindings › Post/page context › Button › Should show the value of the custom field when text is bound
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button', exact: true }).getByRole('textbox')
============================================================
886 | } )
887 | .getByRole( 'textbox' );
> 888 | await buttonBlock.click();
| ^
889 | await expect( buttonBlock ).toHaveText(
890 | 'Value of the text_custom_field'
891 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:888:23
|
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
10 failed
[chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists
[chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists
[chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field
[chromium] › editor/various/block-bindings.spec.js:857: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:913:4 › Block bindings › Post/page context › Button › Should use the value of the custom field when url is bound
[chromium] › editor/various/block-bindings.spec.js:951:4 › Block bindings › Post/page context › Button › Should use the values of the custom fields when text and url are bound
[chromium] › editor/various/block-bindings.spec.js:1020:4 › Block bindings › Post/page context › Image › Should show the value of the custom field when url is bound
[chromium] › editor/various/block-bindings.spec.js:1071: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:1137: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:1213:4 › Block bindings › Post/page context › Image › Multiple bindings should show the value of the custom fields
153 passed (13.6m)
|
The logs for this run have expired and are no longer available.
Loading