Allow template duplication + concept of active templates #123062
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L84
1) [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
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Movie field default value"
Received string: "movie_field"
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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-b7a29bce-b8df-4798-a622-dde163edd572" data-block="b7a29bce-b8df-4798-a622-dde163edd572" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-b7a29bce-b8df-4798-a622-dde163edd572" data-block="b7a29bce-b8df-4798-a622-dde163edd572" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-b7a29bce-b8df-4798-a622-dde163edd572" data-block="b7a29bce-b8df-4798-a622-dde163edd572" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-b7a29bce-b8df-4798-a622-dde163edd572" data-block="b7a29bce-b8df-4798-a622-dde163edd572" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-b7a29bce-b8df-4798-a622-dde163edd572" data-block="b7a29bce-b8df-4798-a622-dde163edd572" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-b7a29bce-b8df-4798-a622-dde163edd572" data-block="b7a29bce-b8df-4798-a622-dde163edd572" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
-
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L84
1) [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
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: "Movie field default value"
Received string: "movie_field"
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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-a4ec2546-e84c-409d-85fa-3befd7dc851b" data-block="a4ec2546-e84c-409d-85fa-3befd7dc851b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-a4ec2546-e84c-409d-85fa-3befd7dc851b" data-block="a4ec2546-e84c-409d-85fa-3befd7dc851b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-a4ec2546-e84c-409d-85fa-3befd7dc851b" data-block="a4ec2546-e84c-409d-85fa-3befd7dc851b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-a4ec2546-e84c-409d-85fa-3befd7dc851b" data-block="a4ec2546-e84c-409d-85fa-3befd7dc851b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-a4ec2546-e84c-409d-85fa-3befd7dc851b" data-block="a4ec2546-e84c-409d-85fa-3befd7dc851b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-a4ec2546-e84c-409d-85fa-3befd7dc851b" data-block="a4ec2546-e84c-409d-85fa-3befd7dc851b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-se
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L84
1) [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
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: "Movie field default value"
Received string: "movie_field"
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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-2aa50c93-f78b-436d-9def-48c6fefcbf2a" data-block="2aa50c93-f78b-436d-9def-48c6fefcbf2a" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-2aa50c93-f78b-436d-9def-48c6fefcbf2a" data-block="2aa50c93-f78b-436d-9def-48c6fefcbf2a" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-2aa50c93-f78b-436d-9def-48c6fefcbf2a" data-block="2aa50c93-f78b-436d-9def-48c6fefcbf2a" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-2aa50c93-f78b-436d-9def-48c6fefcbf2a" data-block="2aa50c93-f78b-436d-9def-48c6fefcbf2a" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-2aa50c93-f78b-436d-9def-48c6fefcbf2a" data-block="2aa50c93-f78b-436d-9def-48c6fefcbf2a" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">movie_field</p>
- unexpected value "movie_field"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-2aa50c93-f78b-436d-9def-48c6fefcbf2a" data-block="2aa50c93-f78b-436d-9def-48c6fefcbf2a" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-se
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L110
2) [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
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Paragraph' })
Expected string: "Field with only label"
Received string: "field_with_only_label"
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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-7b6b49fa-d7c9-4369-a022-55f9d496e313" data-block="7b6b49fa-d7c9-4369-a022-55f9d496e313" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-7b6b49fa-d7c9-4369-a022-55f9d496e313" data-block="7b6b49fa-d7c9-4369-a022-55f9d496e313" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-7b6b49fa-d7c9-4369-a022-55f9d496e313" data-block="7b6b49fa-d7c9-4369-a022-55f9d496e313" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-7b6b49fa-d7c9-4369-a022-55f9d496e313" data-block="7b6b49fa-d7c9-4369-a022-55f9d496e313" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-7b6b49fa-d7c9-4369-a022-55f9d496e313" data-block="7b6b49fa-d7c9-4369-a022-55f9d496e313" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-7b6b49fa-d7c9-4369-a022-55f9d496e313" data-block="7b6b49fa-d7c9-4369-a022-55f9d496e313" class="block-editor-rich-text__editable block-editor-blo
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L110
2) [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
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: "Field with only label"
Received string: "field_with_only_label"
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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" data-block="eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" data-block="eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" data-block="eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" data-block="eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" data-block="eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-eed80b42-540c-4cf7-85a7-70c0bcc8fc7c" data
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L110
2) [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
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: "Field with only label"
Received string: "field_with_only_label"
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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-c9a2f2c3-4863-4762-93c9-8149ecc7315b" data-block="c9a2f2c3-4863-4762-93c9-8149ecc7315b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-c9a2f2c3-4863-4762-93c9-8149ecc7315b" data-block="c9a2f2c3-4863-4762-93c9-8149ecc7315b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-c9a2f2c3-4863-4762-93c9-8149ecc7315b" data-block="c9a2f2c3-4863-4762-93c9-8149ecc7315b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-c9a2f2c3-4863-4762-93c9-8149ecc7315b" data-block="c9a2f2c3-4863-4762-93c9-8149ecc7315b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-c9a2f2c3-4863-4762-93c9-8149ecc7315b" data-block="c9a2f2c3-4863-4762-93c9-8149ecc7315b" class="block-editor-rich-text__editable block-editor-block-list__block wp-block is-selected wp-block-paragraph rich-text">field_with_only_label</p>
- unexpected value "field_with_only_label"
- 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-custom-placeholder="true" data-wp-block-attribute-key="content" id="block-c9a2f2c3-4863-4762-93c9-8149ecc7315b" data
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L169
3) [chromium] › editor/various/block-bindings/post-meta.spec.js:143:4 › Post Meta source › Movie CPT template › Attributes panel › should show the field label if it is defined
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'Movie field label' })
167 | .getByRole( 'menuitemradio' )
168 | .filter( { hasText: 'Movie field label' } )
> 169 | .click();
| ^
170 | await expect( contentBinding ).toContainText(
171 | 'Movie field label'
172 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/post-meta.spec.js:169:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L169
3) [chromium] › editor/various/block-bindings/post-meta.spec.js:143:4 › Post Meta source › Movie CPT template › Attributes panel › should show the field label if it is defined
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'Movie field label' })
167 | .getByRole( 'menuitemradio' )
168 | .filter( { hasText: 'Movie field label' } )
> 169 | .click();
| ^
170 | await expect( contentBinding ).toContainText(
171 | 'Movie field label'
172 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/post-meta.spec.js:169:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L169
3) [chromium] › editor/various/block-bindings/post-meta.spec.js:143:4 › Post Meta source › Movie CPT template › Attributes panel › should show the field label if it is defined
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'Movie field label' })
167 | .getByRole( 'menuitemradio' )
168 | .filter( { hasText: 'Movie field label' } )
> 169 | .click();
| ^
170 | await expect( contentBinding ).toContainText(
171 | 'Movie field label'
172 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/post-meta.spec.js:169:7
|
Run the tests:
test/e2e/specs/editor/various/block-bindings/post-meta.spec.js#L200
4) [chromium] › editor/various/block-bindings/post-meta.spec.js:174:4 › Post Meta source › Movie CPT template › Attributes panel › should fall back to the field key if the field label is not defined
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('menuitemradio').filter({ hasText: 'field_without_label_or_default' })
198 | .getByRole( 'menuitemradio' )
199 | .filter( { hasText: 'field_without_label_or_default' } )
> 200 | .click();
| ^
201 | await expect( contentBinding ).toContainText(
202 | 'field_without_label_or_default'
203 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings/post-meta.spec.js:200:7
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
9 failed
[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:143:4 › Post Meta source › Movie CPT template › Attributes panel › should show the field label if it is defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:174:4 › Post Meta source › Movie CPT template › Attributes panel › should fall back to the field key if the field label is not defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:226:4 › Post Meta source › Movie CPT template › Fields list dropdown › should include movie fields in UI to connect attributes
[chromium] › editor/various/block-bindings/post-meta.spec.js:234:4 › Post Meta source › Movie CPT template › Fields list dropdown › should include global fields in UI to connect attributes
[chromium] › editor/various/block-bindings/post-meta.spec.js:242:4 › Post Meta source › Movie CPT template › Fields list dropdown › should not include protected fields
[chromium] › editor/various/block-bindings/post-meta.spec.js:258:4 › Post Meta source › Movie CPT template › Fields list dropdown › should show the default value if it is defined
[chromium] › editor/various/block-bindings/post-meta.spec.js:268:4 › Post Meta source › Movie CPT template › Fields list dropdown › should not show anything if the default value is not defined
1 skipped
175 passed (13.4m)
|
Loading