Extensibility: Make Block Bindings work with editor.BlockEdit hook (2nd try) #120779
Annotations
10 errors, 1 warning, and 1 notice
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-e03e89a0-f0ac-4695-b871-715b26439a62" data-block="e03e89a0-f0ac-4695-b871-715b26439a62" 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-e03e89a0-f0ac-4695-b871-715b26439a62" data-block="e03e89a0-f0ac-4695-b871-715b26439a62" 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-e03e89a0-f0ac-4695-b871-715b26439a62" data-block="e03e89a0-f0ac-4695-b871-715b26439a62" 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-e03e89a0-f0ac-4695-b871-715b26439a62" data-block="e03e89a0-f0ac-4695-b871-715b26439a62" 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-e03e89a0-f0ac-4695-b871-715b26439a62" data-block="e03e89a0-f0ac-4695-b871-715b26439a62" 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-e03e89a0-f0ac-4695-b871-715b26439a62" data-block="e03e89a0-f0ac-4695-b871-715b26439a62" 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
|
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-eb720ec2-e2c0-42f1-9638-2b7186baeb14" data-block="eb720ec2-e2c0-42f1-9638-2b7186baeb14" 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-eb720ec2-e2c0-42f1-9638-2b7186baeb14" data-block="eb720ec2-e2c0-42f1-9638-2b7186baeb14" 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-eb720ec2-e2c0-42f1-9638-2b7186baeb14" data-block="eb720ec2-e2c0-42f1-9638-2b7186baeb14" 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-eb720ec2-e2c0-42f1-9638-2b7186baeb14" data-block="eb720ec2-e2c0-42f1-9638-2b7186baeb14" 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-eb720ec2-e2c0-42f1-9638-2b7186baeb14" data-block="eb720ec2-e2c0-42f1-9638-2b7186baeb14" 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-eb720ec2-e2c0-42f1-9638-2b7186baeb14" data-block="eb720ec2-e2c0-42f1-9638-2b7186baeb14" 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
|
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-ac68ef0b-2a46-43aa-9de9-485ce7513560" data-block="ac68ef0b-2a46-43aa-9de9-485ce7513560" 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-ac68ef0b-2a46-43aa-9de9-485ce7513560" data-block="ac68ef0b-2a46-43aa-9de9-485ce7513560" 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-ac68ef0b-2a46-43aa-9de9-485ce7513560" data-block="ac68ef0b-2a46-43aa-9de9-485ce7513560" 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-ac68ef0b-2a46-43aa-9de9-485ce7513560" data-block="ac68ef0b-2a46-43aa-9de9-485ce7513560" 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-ac68ef0b-2a46-43aa-9de9-485ce7513560" data-block="ac68ef0b-2a46-43aa-9de9-485ce7513560" 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-ac68ef0b-2a46-43aa-9de9-485ce7513560" data-block="ac68ef0b-2a46-43aa-9de9-485ce7513560" 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
|
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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4607-927f-912a55633405" 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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4607-927f-912a55633405" 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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4607-927f-912a55633405" 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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4607-927f-912a55633405" 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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4607-927f-912a55633405" 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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4607-927f-912a55633405" 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-11996454-0062-4607-927f-912a55633405" data-block="11996454-0062-4
|
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-27419fa9-40c6-40a7-9edd-2ea138f8509c" data-block="27419fa9-40c6-40a7-9edd-2ea138f8509c" 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-27419fa9-40c6-40a7-9edd-2ea138f8509c" data-block="27419fa9-40c6-40a7-9edd-2ea138f8509c" 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-27419fa9-40c6-40a7-9edd-2ea138f8509c" data-block="27419fa9-40c6-40a7-9edd-2ea138f8509c" 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-27419fa9-40c6-40a7-9edd-2ea138f8509c" data-block="27419fa9-40c6-40a7-9edd-2ea138f8509c" 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-27419fa9-40c6-40a7-9edd-2ea138f8509c" data-block="27419fa9-40c6-40a7-9edd-2ea138f8509c" 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-27419fa9-40c6-40a7-9edd-2ea138f8509c" data-block="27419fa9-40c6-40a7-9edd-2ea138f8509c" 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
|
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-9ad38ded-7161-464a-b4ae-5f12cacc9b1c" data-block="9ad38ded-7161-464a-b4ae-5f12cacc9b1c" 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-9ad38ded-7161-464a-b4ae-5f12cacc9b1c" data-block="9ad38ded-7161-464a-b4ae-5f12cacc9b1c" 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-9ad38ded-7161-464a-b4ae-5f12cacc9b1c" data-block="9ad38ded-7161-464a-b4ae-5f12cacc9b1c" 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-9ad38ded-7161-464a-b4ae-5f12cacc9b1c" data-block="9ad38ded-7161-464a-b4ae-5f12cacc9b1c" 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-9ad38ded-7161-464a-b4ae-5f12cacc9b1c" data-block="9ad38ded-7161-464a-b4ae-5f12cacc9b1c" 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-9ad38ded-7161-464a-b4ae-5f12cacc9b1c" data-block="9ad38ded-7161-464a-b4ae-5f12cacc9b1c" 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
|
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L177
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' }).locator('img')
Expected string: "http://localhost:8889/wp-content/uploads/2024/12/1024x768_e2e_test_image_size.jpeg"
Received string: "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' }).locator('img')
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
175 |
176 | // Image src is the custom field value.
> 177 | await expect( imageBlockImg ).toHaveAttribute(
| ^
178 | 'src',
179 | testingImgSrc
180 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:177:34
|
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L177
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' }).locator('img')
Expected string: "http://localhost:8889/wp-content/uploads/2024/12/1024x768_e2e_test_image_size.jpeg"
Received string: "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' }).locator('img')
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
175 |
176 | // Image src is the custom field value.
> 177 | await expect( imageBlockImg ).toHaveAttribute(
| ^
178 | 'src',
179 | testingImgSrc
180 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:177:34
|
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L177
3) [chromium] › editor/various/block-bindings/custom-sources.spec.js:141:3 › Registered sources › getValues › should show the returned values in image attributes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' }).locator('img')
Expected string: "http://localhost:8889/wp-content/uploads/2024/12/1024x768_e2e_test_image_size.jpeg"
Received string: "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Image' }).locator('img')
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
- locator resolved to <img alt="default alt value" src="http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"/>
- unexpected value "http://localhost:8889/wp-content/uploads/2024/12/10x10_e2e_test_image_z9T8jK.png"
175 |
176 | // Image src is the custom field value.
> 177 | await expect( imageBlockImg ).toHaveAttribute(
| ^
178 | 'src',
179 | testingImgSrc
180 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js:177:34
|
test/e2e/specs/editor/various/block-bindings/custom-sources.spec.js#L239
4) [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-1a952ada-fe59-46cc-b46d-82f9e447ffb8" data-block="1a952ada-fe59-46cc-b46d-82f9e447ffb8" 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-1a952ada-fe59-46cc-b46d-82f9e447ffb8" data-block="1a952ada-fe59-46cc-b46d-82f9e447ffb8" 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-1a952ada-fe59-46cc-b46d-82f9e447ffb8" data-block="1a952ada-fe59-46cc-b46d-82f9e447ffb8" 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-1a952ada-fe59-46cc-b46d-82f9e447ffb8" data-block="1a952ada-fe59-46cc-b46d-82f9e447ffb8" 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-1a952ada-fe59-46cc-b46d-82f9e447ffb8" data-block="1a952ada-fe59-46cc-b46d-82f9e447ffb8" 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-1a952ada-fe59-46cc-b46d-82f9e447ffb8" data-block="1a952ada-fe59-46cc-b46d-82f9e447ffb8" 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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
27 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:141:3 › Registered sources › getValues › should show the returned values in image attributes
[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:431:4 › Registered sources › should lock editing › canUserEditValue returns false › image
[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:603:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the button
[chromium] › editor/various/block-bindings/custom-sources.spec.js:657:3 › Registered sources › setValues › should be possible to edit the value of the url custom field from the image
[chromium] › editor/various/block-bindings/custom-sources.spec.js:716:3 › Registered sources › setValues › should be possible to edit the value of the text custom field from the image alt
[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
|
The logs for this run have expired and are no longer available.
Loading