Allow template duplication + concept of active templates #123020
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-55d44eaa-bcfb-4dcf-8a66-7555a20f5905" data-block="55d44eaa-bcfb-4dcf-8a66-7555a20f5905" 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-55d44eaa-bcfb-4dcf-8a66-7555a20f5905" data-block="55d44eaa-bcfb-4dcf-8a66-7555a20f5905" 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-55d44eaa-bcfb-4dcf-8a66-7555a20f5905" data-block="55d44eaa-bcfb-4dcf-8a66-7555a20f5905" 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-55d44eaa-bcfb-4dcf-8a66-7555a20f5905" data-block="55d44eaa-bcfb-4dcf-8a66-7555a20f5905" 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-55d44eaa-bcfb-4dcf-8a66-7555a20f5905" data-block="55d44eaa-bcfb-4dcf-8a66-7555a20f5905" 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-55d44eaa-bcfb-4dcf-8a66-7555a20f5905" data-block="55d44eaa-bcfb-4dcf-8a66-7555a20f5905" 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-8b1c6038-999d-415b-a6da-51d924e66e94" data-block="8b1c6038-999d-415b-a6da-51d924e66e94" 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-8b1c6038-999d-415b-a6da-51d924e66e94" data-block="8b1c6038-999d-415b-a6da-51d924e66e94" 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-8b1c6038-999d-415b-a6da-51d924e66e94" data-block="8b1c6038-999d-415b-a6da-51d924e66e94" 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-8b1c6038-999d-415b-a6da-51d924e66e94" data-block="8b1c6038-999d-415b-a6da-51d924e66e94" 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-8b1c6038-999d-415b-a6da-51d924e66e94" data-block="8b1c6038-999d-415b-a6da-51d924e66e94" 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-8b1c6038-999d-415b-a6da-51d924e66e94" data-block="8b1c6038-999d-415b-a6da-51d924e66e94" 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-fa5ba785-6b77-40b0-88e0-0e3018921da3" data-block="fa5ba785-6b77-40b0-88e0-0e3018921da3" 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-fa5ba785-6b77-40b0-88e0-0e3018921da3" data-block="fa5ba785-6b77-40b0-88e0-0e3018921da3" 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-fa5ba785-6b77-40b0-88e0-0e3018921da3" data-block="fa5ba785-6b77-40b0-88e0-0e3018921da3" 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-fa5ba785-6b77-40b0-88e0-0e3018921da3" data-block="fa5ba785-6b77-40b0-88e0-0e3018921da3" 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-fa5ba785-6b77-40b0-88e0-0e3018921da3" data-block="fa5ba785-6b77-40b0-88e0-0e3018921da3" 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-fa5ba785-6b77-40b0-88e0-0e3018921da3" data-block="fa5ba785-6b77-40b0-88e0-0e3018921da3" 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-7c8494ad-5ed9-4267-ba82-41b8aca4321d" data-block="7c8494ad-5ed9-4267-ba82-41b8aca4321d" 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-7c8494ad-5ed9-4267-ba82-41b8aca4321d" data-block="7c8494ad-5ed9-4267-ba82-41b8aca4321d" 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-7c8494ad-5ed9-4267-ba82-41b8aca4321d" data-block="7c8494ad-5ed9-4267-ba82-41b8aca4321d" 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-7c8494ad-5ed9-4267-ba82-41b8aca4321d" data-block="7c8494ad-5ed9-4267-ba82-41b8aca4321d" 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-7c8494ad-5ed9-4267-ba82-41b8aca4321d" data-block="7c8494ad-5ed9-4267-ba82-41b8aca4321d" 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-7c8494ad-5ed9-4267-ba82-41b8aca4321d" data-block="7c8494ad-5ed9-4267-ba82-41b8aca4321d" 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-b3924c21-985f-4f37-9059-514140d58447" data-block="b3924c21-985f-4f37-9059-514140d58447" 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-b3924c21-985f-4f37-9059-514140d58447" data-block="b3924c21-985f-4f37-9059-514140d58447" 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-b3924c21-985f-4f37-9059-514140d58447" data-block="b3924c21-985f-4f37-9059-514140d58447" 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-b3924c21-985f-4f37-9059-514140d58447" data-block="b3924c21-985f-4f37-9059-514140d58447" 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-b3924c21-985f-4f37-9059-514140d58447" data-block="b3924c21-985f-4f37-9059-514140d58447" 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-b3924c21-985f-4f37-9059-514140d58447" 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-2854390e-f2ec-4d4e-a20b-0785609a9dcc" data-block="2854390e-f2ec-4d4e-a20b-0785609a9dcc" 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-2854390e-f2ec-4d4e-a20b-0785609a9dcc" data-block="2854390e-f2ec-4d4e-a20b-0785609a9dcc" 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-2854390e-f2ec-4d4e-a20b-0785609a9dcc" data-block="2854390e-f2ec-4d4e-a20b-0785609a9dcc" 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-2854390e-f2ec-4d4e-a20b-0785609a9dcc" data-block="2854390e-f2ec-4d4e-a20b-0785609a9dcc" 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-2854390e-f2ec-4d4e-a20b-0785609a9dcc" data-block="2854390e-f2ec-4d4e-a20b-0785609a9dcc" 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-2854390e-f2ec-4d4e-a20b-0785609a9dcc" 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.1m)
|
Loading