Skip to content

Block Bindings: enhance block attribute binding to external sources #96769

Block Bindings: enhance block attribute binding to external sources

Block Bindings: enhance block attribute binding to external sources #96769

Triggered via pull request February 12, 2024 12:29
Status Failure
Total duration 30m 1s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
3m 43s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 10 warnings, and 8 notices
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values: test/e2e/specs/interactivity/directive-bind.spec.ts#L218
1) [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "false", - "false", + null, ] 216 | name 217 | ); > 218 | expect( [ type, hydratedAttr ] ).toEqual( [ | ^ 219 | type, 220 | attrValue, 221 | ] ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:218:39
Playwright - 4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides: test/e2e/specs/editor/various/pattern-overrides.spec.js#L84
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides TimeoutError: locator.setChecked: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' }) locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/> attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action click action done waiting for scheduled navigations to finish navigations have finished ============================================================ 82 | await editorSettings 83 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } ) > 84 | .setChecked( true ); | ^ 85 | 86 | await expect.poll( editor.getBlocks ).toMatchObject( [ 87 | { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:84:6 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:32:3
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides: test/e2e/specs/editor/various/pattern-overrides.spec.js#L84
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.setChecked: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' }) locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/> attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action click action done waiting for scheduled navigations to finish navigations have finished ============================================================ 82 | await editorSettings 83 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } ) > 84 | .setChecked( true ); | ^ 85 | 86 | await expect.poll( editor.getBlocks ).toMatchObject( [ 87 | { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:84:6 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:32:3
[chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides: test/e2e/specs/editor/various/pattern-overrides.spec.js#L84
1) [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides › Create a synced pattern and assign blocks to allow overrides Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.setChecked: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Editor settings' }).getByRole('checkbox', { name: 'Allow instance overrides' }) locator resolved to <input value="1" type="checkbox" id="inspector-checkbox…/> attempting click action waiting for element to be visible, enabled and stable element is visible, enabled and stable scrolling into view if needed done scrolling performing click action click action done waiting for scheduled navigations to finish navigations have finished ============================================================ 82 | await editorSettings 83 | .getByRole( 'checkbox', { name: 'Allow instance overrides' } ) > 84 | .setChecked( true ); | ^ 85 | 86 | await expect.poll( editor.getBlocks ).toMatchObject( [ 87 | { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:84:6 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:32:3
[chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks: test/e2e/specs/editor/various/pattern-overrides.spec.js#L256
2) [chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "edited Editable", + "content": "Editable", "metadata": undefined, }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 254 | 255 | // Check that the overrides remain. > 256 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 257 | { 258 | name: 'core/paragraph', 259 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:256:41
[chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks: test/e2e/specs/editor/various/pattern-overrides.spec.js#L256
2) [chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "edited Editable", + "content": "Editable", "metadata": undefined, }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 254 | 255 | // Check that the overrides remain. > 256 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 257 | { 258 | name: 'core/paragraph', 259 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:256:41
[chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks: test/e2e/specs/editor/various/pattern-overrides.spec.js#L256
2) [chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { "attributes": Object { - "content": "edited Editable", + "content": "Editable", "metadata": undefined, }, "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 254 | 255 | // Check that the overrides remain. > 256 | await expect.poll( editor.getBlocks ).toMatchObject( [ | ^ 257 | { 258 | name: 'core/paragraph', 259 | attributes: { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:256:41
[chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings: test/e2e/specs/editor/various/pattern-overrides.spec.js#L296
3) [chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings TimeoutError: locator.focus: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' }) ============================================================ 294 | .getByRole( 'document', { name: 'Block: Button' } ) 295 | .getByRole( 'textbox', { name: 'Button text' } ) > 296 | .focus(); | ^ 297 | await expect( 298 | page.getByRole( 'link', { name: 'wp.org' } ) 299 | ).toContainText( 'opens in a new tab' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:296:5
[chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings: test/e2e/specs/editor/various/pattern-overrides.spec.js#L296
3) [chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.focus: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' }) ============================================================ 294 | .getByRole( 'document', { name: 'Block: Button' } ) 295 | .getByRole( 'textbox', { name: 'Button text' } ) > 296 | .focus(); | ^ 297 | await expect( 298 | page.getByRole( 'link', { name: 'wp.org' } ) 299 | ).toContainText( 'opens in a new tab' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:296:5
[chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings: test/e2e/specs/editor/various/pattern-overrides.spec.js#L296
3) [chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.focus: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Button' }).getByRole('textbox', { name: 'Button text' }) ============================================================ 294 | .getByRole( 'document', { name: 'Block: Button' } ) 295 | .getByRole( 'textbox', { name: 'Button text' } ) > 296 | .focus(); | ^ 297 | await expect( 298 | page.getByRole( 'link', { name: 'wp.org' } ) 299 | ).toContainText( 'opens in a new tab' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:296:5
[chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns: test/e2e/specs/editor/various/pattern-overrides.spec.js#L412
4) [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns Error: locator.fill: Error: Element is not an <input>, <textarea> or [contenteditable] element =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> elementHandle.fill("Outer heading (edited)") waiting for element to be visible, enabled and editable Element is not an <input>, <textarea> or [contenteditable] element ============================================================ 410 | await editor.canvas 411 | .getByRole( 'document', { name: 'Block: Heading' } ) > 412 | .fill( 'Outer heading (edited)' ); | ^ 413 | 414 | const postId = await editor.publishPost(); 415 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:412:5
Playwright - 3
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L70
1) [chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' }) Expected string: "text_custom_field" Received string: "This block has encountered an error and cannot be previewed." Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' }) - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." 68 | name: 'Block: Paragraph', 69 | } ); > 70 | await expect( paragraphBlock ).toHaveText( | ^ 71 | 'text_custom_field' 72 | ); 73 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:70:36
[chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L70
1) [chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' }) Expected string: "text_custom_field" Received string: "This block has encountered an error and cannot be previewed." Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' }) - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." 68 | name: 'Block: Paragraph', 69 | } ); > 70 | await expect( paragraphBlock ).toHaveText( | ^ 71 | 'text_custom_field' 72 | ); 73 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:70:36
[chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L70
1) [chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' }) Expected string: "text_custom_field" Received string: "This block has encountered an error and cannot be previewed." Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Paragraph' }) - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Paragra…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." 68 | name: 'Block: Paragraph', 69 | } ); > 70 | await expect( paragraphBlock ).toHaveText( | ^ 71 | 'text_custom_field' 72 | ); 73 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:70:36
[chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls: test/e2e/specs/editor/various/block-bindings.spec.js#L103
2) [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) 101 | .getByRole( 'toolbar', { name: 'Block tools' } ) 102 | .getByRole( 'button', { name: 'Align text' } ) > 103 | ).toBeVisible(); | ^ 104 | 105 | // Format controls don't exist. 106 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:103:7
[chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls: test/e2e/specs/editor/various/block-bindings.spec.js#L103
2) [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) 101 | .getByRole( 'toolbar', { name: 'Block tools' } ) 102 | .getByRole( 'button', { name: 'Align text' } ) > 103 | ).toBeVisible(); | ^ 104 | 105 | // Format controls don't exist. 106 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:103:7
[chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls: test/e2e/specs/editor/various/block-bindings.spec.js#L103
2) [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) 101 | .getByRole( 'toolbar', { name: 'Block tools' } ) 102 | .getByRole( 'button', { name: 'Align text' } ) > 103 | ).toBeVisible(); | ^ 104 | 105 | // Format controls don't exist. 106 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:103:7
[chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L143
3) [chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) Expected string: "text_custom_field" Received string: "This block has encountered an error and cannot be previewed." Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." 141 | name: 'Block: Heading', 142 | } ); > 143 | await expect( headingBlock ).toHaveText( 'text_custom_field' ); | ^ 144 | } ); 145 | 146 | test( 'Should lock the appropriate controls', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:143:34
[chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L143
3) [chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) Expected string: "text_custom_field" Received string: "This block has encountered an error and cannot be previewed." Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." 141 | name: 'Block: Heading', 142 | } ); > 143 | await expect( headingBlock ).toHaveText( 'text_custom_field' ); | ^ 144 | } ); 145 | 146 | test( 'Should lock the appropriate controls', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:143:34
[chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L143
3) [chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) Expected string: "text_custom_field" Received string: "This block has encountered an error and cannot be previewed." Call log: - expect.toHaveText with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Heading' }) - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." - locator resolved to <div tabindex="0" role="document" data-title="Heading…>…</div> - unexpected value "This block has encountered an error and cannot be previewed." 141 | name: 'Block: Heading', 142 | } ); > 143 | await expect( headingBlock ).toHaveText( 'text_custom_field' ); | ^ 144 | } ); 145 | 146 | test( 'Should lock the appropriate controls', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:143:34
[chromium] › editor/various/block-bindings.spec.js:146:4 › Block bindings › Template context › Heading › Should lock the appropriate controls: test/e2e/specs/editor/various/block-bindings.spec.js#L174
4) [chromium] › editor/various/block-bindings.spec.js:146:4 › Block bindings › Template context › Heading › Should lock the appropriate controls Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Align text' }) 172 | .getByRole( 'toolbar', { name: 'Block tools' } ) 173 | .getByRole( 'button', { name: 'Align text' } ) > 174 | ).toBeVisible(); | ^ 175 | 176 | // Format controls don't exist. 177 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:174:7
Puppeteer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 6
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 5
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Playwright - 3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
1 flaky [chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values 4 skipped 129 passed (6.5m)
🎭 Playwright Run Summary
11 skipped 152 passed (7.5m)
🎭 Playwright Run Summary
1 skipped 155 passed (8.1m)
🎭 Playwright Run Summary
3 skipped 129 passed (7.9m)
🎭 Playwright Run Summary
1 skipped 181 passed (8.4m)
🎭 Playwright Run Summary
177 passed (8.1m)
🎭 Playwright Run Summary
5 failed [chromium] › editor/various/pattern-overrides.spec.js:24:2 › Pattern Overrides › Create a pattern with overrides [chromium] › editor/various/pattern-overrides.spec.js:220:2 › Pattern Overrides › retains override values when converting a pattern block to regular blocks [chromium] › editor/various/pattern-overrides.spec.js:267:2 › Pattern Overrides › handles button's link settings [chromium] › editor/various/pattern-overrides.spec.js:378:2 › Pattern Overrides › disables editing of nested patterns [chromium] › editor/various/pattern-overrides.spec.js:497:2 › Pattern Overrides › resets overrides after clicking the reset button 151 passed (10.3m)
🎭 Playwright Run Summary
20 failed [chromium] › editor/various/block-bindings.spec.js:50:4 › Block bindings › Template context › Paragraph › Should show the value of the custom field [chromium] › editor/various/block-bindings.spec.js:75:4 › Block bindings › Template context › Paragraph › Should lock the appropriate controls [chromium] › editor/various/block-bindings.spec.js:123:4 › Block bindings › Template context › Heading › Should show the key of the custom field [chromium] › editor/various/block-bindings.spec.js:146:4 › Block bindings › Template context › Heading › Should lock the appropriate controls [chromium] › editor/various/block-bindings.spec.js:194:4 › Block bindings › Template context › Button › Should show the key of the custom field when text is bound [chromium] › editor/various/block-bindings.spec.js:224:4 › Block bindings › Template context › Button › Should lock text controls when text is bound [chromium] › editor/various/block-bindings.spec.js:286:4 › Block bindings › Template context › Button › Should lock url controls when url is bound [chromium] › editor/various/block-bindings.spec.js:346:4 › Block bindings › Template context › Button › Should lock url and text controls when both are bound [chromium] › editor/various/block-bindings.spec.js:460:4 › Block bindings › Template context › Image › Should lock url controls when url is bound [chromium] › editor/various/block-bindings.spec.js:529:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound [chromium] › editor/various/block-bindings.spec.js:592:4 › Block bindings › Template context › Image › Should disable title input when title is bound [chromium] › editor/various/block-bindings.spec.js:655:4 › Block bindings › Template context › Image › Multiple bindings should lock the appropriate controls [chromium] › editor/various/block-bindings.spec.js:734:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists [chromium] › editor/various/block-bindings.spec.js:776:4 › Block bindings › Post/page context › Paragraph › Should show the value of the key when custom field doesn't exists [chromium] › editor/various/block-bindings.spec.js:816:3 › Block bindings › Post/page context › Heading - should show the value of the custom field [chromium] › editor/various/block-bindings.spec.js:857:4 › Block bindings › Post/page context › Button › Should show the value of the custom field when text is bound [chromium] › editor/various/block-bindings.spec.js:1020:4 › Block bindings › Post/page context › Image › Should show the value of the custom field when url is bound [chromium] › editor/various/block-bindings.spec.js:1071:4 › Block bindings › Post/page context › Image › Should show value of the custom field in the alt textarea when alt is bound [chromium] › editor/various/block-bindings.spec.js:1137:4 › Block bindings › Post/page context › Image › Should show value of the custom field in the title input when title is bound [chromium] › editor/various/block-bindings.spec.js:1213:4 › Block bindings › Post/page context › Image › Multiple bindings should show the value of the custom fields 150 passed (19.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
276 KB
flaky-tests-report Expired
922 Bytes