RichText: Introduce new attributeKey
prop
#121966
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L69
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:48:3 › Registered sources › getValues › should show the returned value in paragraph content
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Text Field Value"
Received string: "paragraph default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-59f849dc-ea7a-4490-a683-ad6fa7f01611" data-block="59f849dc-ea7a-4490-a683-ad6fa7f01611" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-59f849dc-ea7a-4490-a683-ad6fa7f01611" data-block="59f849dc-ea7a-4490-a683-ad6fa7f01611" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-59f849dc-ea7a-4490-a683-ad6fa7f01611" data-block="59f849dc-ea7a-4490-a683-ad6fa7f01611" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-59f849dc-ea7a-4490-a683-ad6fa7f01611" data-block="59f849dc-ea7a-4490-a683-ad6fa7f01611" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-59f849dc-ea7a-4490-a683-ad6fa7f01611" data-block="59f849dc-ea7a-4490-a683-ad6fa7f01611" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-59f849dc-ea7a-4490-a683-ad6fa7f01611" data-block="59f849dc-ea7a-4490-a683-ad6fa7f01611" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L69
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:48:3 › Registered sources › getValues › should show the returned value in paragraph content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Text Field Value"
Received string: "paragraph default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-4b1ddb9c-096b-4e05-aa66-68661929831b" data-block="4b1ddb9c-096b-4e05-aa66-68661929831b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-4b1ddb9c-096b-4e05-aa66-68661929831b" data-block="4b1ddb9c-096b-4e05-aa66-68661929831b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-4b1ddb9c-096b-4e05-aa66-68661929831b" data-block="4b1ddb9c-096b-4e05-aa66-68661929831b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-4b1ddb9c-096b-4e05-aa66-68661929831b" data-block="4b1ddb9c-096b-4e05-aa66-68661929831b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-4b1ddb9c-096b-4e05-aa66-68661929831b" data-block="4b1ddb9c-096b-4e05-aa66-68661929831b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-4b1ddb9c-096b-4e05-aa66-68661929831b" data-block="4b1ddb9c-096b-4e05-aa66-68661929831b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator re
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L69
1) [chromium] › editor/various/block-bindings/custom-sources.spec.js:48:3 › Registered sources › getValues › should show the returned value in paragraph content
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Text Field Value"
Received string: "paragraph default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-374306cc-7f4d-485c-8ae6-ed9d77b8b92b" data-block="374306cc-7f4d-485c-8ae6-ed9d77b8b92b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-374306cc-7f4d-485c-8ae6-ed9d77b8b92b" data-block="374306cc-7f4d-485c-8ae6-ed9d77b8b92b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-374306cc-7f4d-485c-8ae6-ed9d77b8b92b" data-block="374306cc-7f4d-485c-8ae6-ed9d77b8b92b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-374306cc-7f4d-485c-8ae6-ed9d77b8b92b" data-block="374306cc-7f4d-485c-8ae6-ed9d77b8b92b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-374306cc-7f4d-485c-8ae6-ed9d77b8b92b" data-block="374306cc-7f4d-485c-8ae6-ed9d77b8b92b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p role="document" data-empty="false" aria-multiline="true" aria-readonly="false" data-title="Paragraph" contenteditable="true" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-374306cc-7f4d-485c-8ae6-ed9d77b8b92b" data-block="374306cc-7f4d-485c-8ae6-ed9d77b8b92b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator re
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L98
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:77:3 › Registered sources › getValues › should show the returned value in heading content
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Heading' })
Expected string: "Text Field Value"
Received string: "heading default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Heading' })
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-430f-86d5-156b839caaae" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-430f-86d5-156b839caaae" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-430f-86d5-156b839caaae" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-430f-86d5-156b839caaae" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-430f-86d5-156b839caaae" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-430f-86d5-156b839caaae" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-589dce01-a43e-430f-86d5-156b839caaae" data-block="589dce01-a43e-4
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L98
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:77:3 › Registered sources › getValues › should show the returned value in heading content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Heading' })
Expected string: "Text Field Value"
Received string: "heading default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Heading' })
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" data-block="e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" data-block="e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" data-block="e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" data-block="e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" data-block="e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" data-block="e1eb69a2-34dc-48e3-be18-dfc239e2d9fc" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-blo
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L98
2) [chromium] › editor/various/block-bindings/custom-sources.spec.js:77:3 › Registered sources › getValues › should show the returned value in heading content
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Heading' })
Expected string: "Text Field Value"
Received string: "heading default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Heading' })
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-7fd74a6c-35d9-4942-96c4-4d67bada3d3e" data-block="7fd74a6c-35d9-4942-96c4-4d67bada3d3e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-7fd74a6c-35d9-4942-96c4-4d67bada3d3e" data-block="7fd74a6c-35d9-4942-96c4-4d67bada3d3e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-7fd74a6c-35d9-4942-96c4-4d67bada3d3e" data-block="7fd74a6c-35d9-4942-96c4-4d67bada3d3e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-7fd74a6c-35d9-4942-96c4-4d67bada3d3e" data-block="7fd74a6c-35d9-4942-96c4-4d67bada3d3e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-7fd74a6c-35d9-4942-96c4-4d67bada3d3e" data-block="7fd74a6c-35d9-4942-96c4-4d67bada3d3e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-block-attribute-key="content" id="block-7fd74a6c-35d9-4942-96c4-4d67bada3d3e" data-block="7fd74a6c-35d9-4942-96c4-4d67bada3d3e" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-heading rich-text">heading default content</h2>
- unexpected value "heading default content"
- locator resolved to <h2 role="document" data-title="Heading" aria-multiline="true" aria-readonly="false" contenteditable="true" data-type="core/heading" aria-label="Block: Heading" data-wp-blo
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L239
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:219:3 › Registered sources › getValues › should fall back to source label when `getValues` is undefined
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Server Source"
Received string: "paragraph default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-d8ffce0b-d500-4c48-bfa7-3d257146b2dd" data-block="d8ffce0b-d500-4c48-bfa7-3d257146b2dd" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-d8ffce0b-d500-4c48-bfa7-3d257146b2dd" data-block="d8ffce0b-d500-4c48-bfa7-3d257146b2dd" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-d8ffce0b-d500-4c48-bfa7-3d257146b2dd" data-block="d8ffce0b-d500-4c48-bfa7-3d257146b2dd" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-d8ffce0b-d500-4c48-bfa7-3d257146b2dd" data-block="d8ffce0b-d500-4c48-bfa7-3d257146b2dd" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-d8ffce0b-d500-4c48-bfa7-3d257146b2dd" data-block="d8ffce0b-d500-4c48-bfa7-3d257146b2dd" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-d8ffce0b-d500-4c48-bfa7-3d257146b2dd" data-block="d8ffce0b-d500-4c48-bfa7-3d257146b2dd" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p ta
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L239
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:219:3 › Registered sources › getValues › should fall back to source label when `getValues` is undefined
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Server Source"
Received string: "paragraph default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-29515250-dc41-4c33-8286-21aa4ad95ebe" data-block="29515250-dc41-4c33-8286-21aa4ad95ebe" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-29515250-dc41-4c33-8286-21aa4ad95ebe" data-block="29515250-dc41-4c33-8286-21aa4ad95ebe" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-29515250-dc41-4c33-8286-21aa4ad95ebe" data-block="29515250-dc41-4c33-8286-21aa4ad95ebe" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-29515250-dc41-4c33-8286-21aa4ad95ebe" data-block="29515250-dc41-4c33-8286-21aa4ad95ebe" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-29515250-dc41-4c33-8286-21aa4ad95ebe" data-block="29515250-dc41-4c33-8286-21aa4ad95ebe" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-29515250-dc41-4c33-8286-21aa4ad95ebe" data-block="29515250-dc41-4c33-8286-21aa4ad95ebe" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L239
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:219:3 › Registered sources › getValues › should fall back to source label when `getValues` is undefined
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Server Source"
Received string: "paragraph default content"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-821060c5-355a-4781-8325-0bb1ec75ff0d" data-block="821060c5-355a-4781-8325-0bb1ec75ff0d" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-821060c5-355a-4781-8325-0bb1ec75ff0d" data-block="821060c5-355a-4781-8325-0bb1ec75ff0d" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-821060c5-355a-4781-8325-0bb1ec75ff0d" data-block="821060c5-355a-4781-8325-0bb1ec75ff0d" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-821060c5-355a-4781-8325-0bb1ec75ff0d" data-block="821060c5-355a-4781-8325-0bb1ec75ff0d" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-821060c5-355a-4781-8325-0bb1ec75ff0d" data-block="821060c5-355a-4781-8325-0bb1ec75ff0d" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default content</p>
- unexpected value "paragraph default content"
- locator resolved to <p tabindex="0" role="document" data-empty="false" aria-readonly="true" aria-multiline="true" data-title="Paragraph" contenteditable="false" data-type="core/paragraph" aria-label="Block: Paragraph" data-wp-block-attribute-key="content" id="block-821060c5-355a-4781-8325-0bb1ec75ff0d" data-block="821060c5-355a-4781-8325-0bb1ec75ff0d" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">paragraph default
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L560
4) [chromium] › editor/various/block-bindings/custom-sources.spec.js:531:3 › Registered sources › setValues › should be possible to edit the value from paragraph content
Error: expect(received).toBe(expected) // Object.is equality
Expected: "paragraph default content"
Received: "new value"
558 | // Check that the paragraph content attribute didn't change.
559 | const [ paragraphBlockObject ] = await editor.getBlocks();
> 560 | expect( paragraphBlockObject.attributes.content ).toBe(
| ^
561 | 'paragraph default content'
562 | );
563 | // Check the value of the custom field is being updated by visiting the frontend.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:560:54
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
21 failed
[chromium] › editor/various/block-bindings/custom-sources.spec.js:48:3 › Registered sources › getValues › should show the returned value in paragraph content
[chromium] › editor/various/block-bindings/custom-sources.spec.js:77:3 › Registered sources › getValues › should show the returned value in heading content
[chromium] › editor/various/block-bindings/custom-sources.spec.js:219:3 › Registered sources › getValues › should fall back to source label when `getValues` is undefined
[chromium] › editor/various/block-bindings/custom-sources.spec.js:531:3 › Registered sources › setValues › should be possible to edit the value from paragraph content
[chromium] › editor/various/block-bindings/custom-sources.spec.js:570:3 › Registered sources › setValues › should be possible to use symbols and numbers as the custom field value
[chromium] › editor/various/block-bindings/custom-sources.spec.js:767:3 › Registered sources › getFieldsList › should be possible to update attribute value through bindings UI
[chromium] › editor/various/block-bindings/custom-sources.spec.js:954:3 › Registered sources › RichText workflows › should add empty paragraph block when pressing enter in paragraph
[chromium] › editor/various/block-bindings/custom-sources.spec.js:986:3 › Registered sources › RichText workflows › should add empty paragraph block when pressing enter in heading
[chromium] › editor/various/block-bindings/custom-sources.spec.js:1031:3 › Registered sources › RichText workflows › should add empty button block when pressing enter in button
[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/custom-sources.spec.js:1105:3 › Registered sources › RichText workflows › should show source label when value is empty, cannot edit, and `getFieldsList` is undefined
[chromium] › editor/various/block-bindings/custom-sources.spec.js:1133:3 › Registered sources › RichText workflows › should show placeholder attribute over bindings placeholder
[chromium] › editor/various/block-bindings/post-meta.spec.js:62:4 › Post Meta source › Movie CPT template › Block attributes values › should show the default value if it is defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:88:4 › Post Meta source › Movie CPT template › Block attributes values › should fall back to the field label if the default value is not defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:114:4 › Post Meta source › Movie CPT template › Block attributes values › should fall back to the field key if the field label is not defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:332:3 › Post Meta source › Custom template › should show the key in attributes connected to post meta
[chromium] › editor/various/block-bindings/post-meta.spec.js:367:3 › Post Meta source › Movie CPT post › should show the custom field value of that specific post
[chromium] › editor/various/block-bindings/post-meta.spec.js:399:3 › Post Meta source › Movie CPT post › should fall back to the key when custom field is not accessible
[chromium] › editor/various/block-bindings/post-meta.spec.js:427:3 › Post Meta source › Movie CPT post › should not show or edit the value of a protected field
[chromium] › editor/various/block-bindings/post-meta.spec.js:455:3 › Post Meta source › Movie CPT post › should not show or edit the value of a field with `show_in_rest` set to false
[chromium] › editor/various/block-bindings/post-meta.spec.js:485:3 › Post Meta source › Movie CPT post › should be possible to edit the value of the connected custom fields
1 skipped
179 passed (18.1m)
|
Loading