Skip to content

Replace deprecated useResizeObserver for useScaleCanvas #120988

Replace deprecated useResizeObserver for useScaleCanvas

Replace deprecated useResizeObserver for useScaleCanvas #120988

Triggered via pull request December 4, 2024 21:01
Status Failure
Total duration 18m 51s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
8s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 9 warnings, and 8 notices
[chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar: packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts#L17
1) [chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('menu', { name: 'Options' }).getByRole('menuitem', { name: 'Ungroup' }) at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17 15 | .getByRole( 'menu', { name: 'Options' } ) 16 | .getByRole( 'menuitem', { name: label } ) > 17 | .click(); | ^ 18 | } 19 | at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:161:4
[chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar: packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts#L17
1) [chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('menu', { name: 'Options' }).getByRole('menuitem', { name: 'Ungroup' }) at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17 15 | .getByRole( 'menu', { name: 'Options' } ) 16 | .getByRole( 'menuitem', { name: label } ) > 17 | .click(); | ^ 18 | } 19 | at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:161:4
[chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar: packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts#L17
1) [chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('menu', { name: 'Options' }).getByRole('menuitem', { name: 'Ungroup' }) at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17 15 | .getByRole( 'menu', { name: 'Options' } ) 16 | .getByRole( 'menuitem', { name: label } ) > 17 | .click(); | ^ 18 | } 19 | at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:17:4) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:161:4
[chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks: test/e2e/specs/editor/various/block-grouping.spec.js#L350
2) [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { checked: true }) Expected string: "Full width" Received string: "None" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { checked: true }) - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" 348 | await expect( 349 | alignOptions.getByRole( 'menuitemradio', { checked: true } ) > 350 | ).toHaveText( 'Full width' ); | ^ 351 | } ); 352 | } ); 353 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:350:6
[chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks: test/e2e/specs/editor/various/block-grouping.spec.js#L350
2) [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { checked: true }) Expected string: "Full width" Received string: "None" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { checked: true }) - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" 348 | await expect( 349 | alignOptions.getByRole( 'menuitemradio', { checked: true } ) > 350 | ).toHaveText( 'Full width' ); | ^ 351 | } ); 352 | } ); 353 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:350:6
[chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks: test/e2e/specs/editor/various/block-grouping.spec.js#L350
2) [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { checked: true }) Expected string: "Full width" Received string: "None" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByRole('menu', { name: 'Align' }).getByRole('menuitemradio', { checked: true }) - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" - locator resolved to <button type="button" aria-checked="true" role="menuitemradio" class="components-button components-menu-item__button components-dropdown-menu__menu-item is-active is-next-40px-default-size has-text has-icon">…</button> - unexpected value "None" 348 | await expect( 349 | alignOptions.getByRole( 'menuitemradio', { checked: true } ) > 350 | ).toHaveText( 'Full width' ); | ^ 351 | } ); 352 | } ); 353 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/block-grouping.spec.js:350:6
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L119
1) [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter Error: apiRequestContext.fetch: socket hang up Call log: - → GET http://localhost:8889/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&per_page=100 - user-agent: Playwright/1.48.1 (x64; ubuntu 22.04) node/20.18 CI/1 - accept: */* - accept-encoding: gzip,deflate,br - X-WP-Nonce: 580d054c36 - cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1733519336%7Ck5aemFZ04Eqaej0YvRUixBbjFT2uG5ewXhn4XaM1aQP%7C3025dd91b38b8099edbd494f47e4d7fecee376b705b9dd0c2d5c98d5fc02e961; wp-settings-time-1=1733346690 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119 117 | 118 | try { > 119 | const response = await this.request.fetch( url, { | ^ 120 | ...fetchOptions, 121 | failOnStatusCode: false, 122 | headers: { at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:119:39) at RequestUtils.listMedia (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/media.ts:31:30) at RequestUtils.deleteAllMedia (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/media.ts:92:27) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:32:22
[chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L878
1) [chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@Firefox, @WebKit) › should gradually multi-select Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/column", + "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 876 | await pageUtils.pressKeys( 'primary+a' ); 877 | > 878 | await expect | ^ 879 | .poll( multiBlockSelectionUtils.getSelectedBlocks ) 880 | .toMatchObject( [ { name: 'core/column' } ] ); 881 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:878:3
[chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L878
1) [chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@Firefox, @WebKit) › should gradually multi-select Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/column", + "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 876 | await pageUtils.pressKeys( 'primary+a' ); 877 | > 878 | await expect | ^ 879 | .poll( multiBlockSelectionUtils.getSelectedBlocks ) 880 | .toMatchObject( [ { name: 'core/column' } ] ); 881 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:878:3
[chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@firefox: test/e2e/specs/editor/various/multi-block-selection.spec.js#L878
1) [chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@Firefox, @WebKit) › should gradually multi-select Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 Array [ Object { - "name": "core/column", + "name": "core/paragraph", }, ] Call Log: - Timeout 5000ms exceeded while waiting on the predicate 876 | await pageUtils.pressKeys( 'primary+a' ); 877 | > 878 | await expect | ^ 879 | .poll( multiBlockSelectionUtils.getSelectedBlocks ) 880 | .toMatchObject( [ { name: 'core/column' } ] ); 881 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:878:3
Playwright - 4
Process completed with exit code 1.
Playwright - 6
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 5
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Playwright - 7
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Merge Artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 skipped 195 passed (6.5m)
🎭 Playwright Run Summary
1 skipped 190 passed (8.9m)
🎭 Playwright Run Summary
1 skipped 194 passed (9.2m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/various/block-grouping.spec.js:131:3 › Block Grouping › Group creation › groups and ungroups multiple blocks of different types via options toolbar [chromium] › editor/various/block-grouping.spec.js:309:3 › Block Grouping › Preserving selected blocks attributes › preserves width alignment settings of selected blocks 1 skipped 199 passed (10.6m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.0m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter 198 passed (10.3m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/multi-block-selection.spec.js:835:2 › Multi-block selection (@Firefox, @WebKit) › should gradually multi-select 1 skipped 196 passed (10.5m)
🎭 Playwright Run Summary
1 skipped 201 passed (10.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
21.6 MB
flaky-tests-report
1.41 KB