Skip to content

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

Block Bindings: enhance block attribute binding to external sources

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

Triggered via pull request February 13, 2024 20:34
Status Failure
Total duration 28m 59s
Artifacts 2

end2end-test.yml

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

Annotations

26 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
[webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@webkit): packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L20
1) [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Save', exact: true }) locator resolved to <button type="button" aria-label="Save" aria-disabled="f…>Save</button> attempting click action waiting for element to be visible, enabled and stable element was detached from the DOM, retrying ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20 18 | await editorTopBar 19 | .getByRole( 'button', { name: 'Save', exact: true } ) > 20 | .click(); | ^ 21 | 22 | // Second Save button in the entities panel. 23 | await savePanel at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:20:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:42:17
Playwright - 7
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 7
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 - 5
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
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 with a registered source: 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 with a registered source 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 with a registered source: 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 with a registered source 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 with a registered source: 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 with a registered source 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:169:4 › Block bindings › Template context › Heading › Should show the key of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L189
3) [chromium] › editor/various/block-bindings.spec.js:169: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." 187 | name: 'Block: Heading', 188 | } ); > 189 | await expect( headingBlock ).toHaveText( 'text_custom_field' ); | ^ 190 | } ); 191 | 192 | test( 'Should lock the appropriate controls with a registered source', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:189:34
[chromium] › editor/various/block-bindings.spec.js:169:4 › Block bindings › Template context › Heading › Should show the key of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L189
3) [chromium] › editor/various/block-bindings.spec.js:169: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." 187 | name: 'Block: Heading', 188 | } ); > 189 | await expect( headingBlock ).toHaveText( 'text_custom_field' ); | ^ 190 | } ); 191 | 192 | test( 'Should lock the appropriate controls with a registered source', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:189:34
[chromium] › editor/various/block-bindings.spec.js:169:4 › Block bindings › Template context › Heading › Should show the key of the custom field: test/e2e/specs/editor/various/block-bindings.spec.js#L189
3) [chromium] › editor/various/block-bindings.spec.js:169: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." 187 | name: 'Block: Heading', 188 | } ); > 189 | await expect( headingBlock ).toHaveText( 'text_custom_field' ); | ^ 190 | } ); 191 | 192 | test( 'Should lock the appropriate controls with a registered source', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:189:34
[chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › Should lock the appropriate controls with a registered source: test/e2e/specs/editor/various/block-bindings.spec.js#L220
4) [chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › Should lock the appropriate controls with a registered source 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' }) 218 | .getByRole( 'toolbar', { name: 'Block tools' } ) 219 | .getByRole( 'button', { name: 'Align text' } ) > 220 | ).toBeVisible(); | ^ 221 | 222 | // Format controls don't exist. 223 | await expect( at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-bindings.spec.js:220: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 - 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 - 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 - 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 - 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 - 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 - 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
3 skipped 129 passed (7.7m)
🎭 Playwright Run Summary
11 skipped 152 passed (7.7m)
🎭 Playwright Run Summary
1 skipped 161 passed (8.1m)
🎭 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 156 passed (8.1m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) 188 passed (8.0m)
🎭 Playwright Run Summary
162 passed (9.0m)
🎭 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 1 skipped 157 passed (11.2m)
🎭 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 with a registered source [chromium] › editor/various/block-bindings.spec.js:169:4 › Block bindings › Template context › Heading › Should show the key of the custom field [chromium] › editor/various/block-bindings.spec.js:192:4 › Block bindings › Template context › Heading › Should lock the appropriate controls with a registered source [chromium] › editor/various/block-bindings.spec.js:286: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:316:4 › Block bindings › Template context › Button › Should lock text controls when text is bound to a registered source [chromium] › editor/various/block-bindings.spec.js:440:4 › Block bindings › Template context › Button › Should lock url controls when url is bound to a registered source [chromium] › editor/various/block-bindings.spec.js:560:4 › Block bindings › Template context › Button › Should lock url and text controls when both are bound [chromium] › editor/various/block-bindings.spec.js:702:4 › Block bindings › Template context › Image › Should lock url controls when url is bound to a registered source [chromium] › editor/various/block-bindings.spec.js:840:4 › Block bindings › Template context › Image › Should disable alt textarea when alt is bound to a registered source [chromium] › editor/various/block-bindings.spec.js:966:4 › Block bindings › Template context › Image › Should disable title input when title is bound to a registered source [chromium] › editor/various/block-bindings.spec.js:1092:4 › Block bindings › Template context › Image › Multiple bindings should lock the appropriate controls [chromium] › editor/various/block-bindings.spec.js:1171:4 › Block bindings › Post/page context › Paragraph › Should show the value of the custom field when exists [chromium] › editor/various/block-bindings.spec.js:1213: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:1253:3 › Block bindings › Post/page context › Heading - should show the value of the custom field [chromium] › editor/various/block-bindings.spec.js:1294: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:1457: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:1508: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:1574: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:1650:4 › Block bindings › Post/page context › Image › Multiple bindings should show the value of the custom fields 145 passed (18.8m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
289 KB
flaky-tests-report Expired
925 Bytes