Skip to content

Refactor: useBlockTools hook #97027

Refactor: useBlockTools hook

Refactor: useBlockTools hook #97027

Triggered via pull request February 14, 2024 15:55
Status Cancelled
Total duration 24m 23s
Artifacts 2

end2end-test.yml

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

Annotations

25 errors, 10 warnings, and 1 notice
[webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L244
1) [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' }) ============================================================ 242 | .getByRole( 'toolbar', { name: 'Block tools' } ) 243 | .getByRole( 'button', { name: 'Options' } ) > 244 | .click(); | ^ 245 | await page.getByRole( 'menuitem', { name: 'Create pattern' } ).click(); 246 | const createPatternDialog = page.getByRole( 'dialog', { 247 | name: 'Create pattern', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:244:5
[webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L244
1) [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' }) ============================================================ 242 | .getByRole( 'toolbar', { name: 'Block tools' } ) 243 | .getByRole( 'button', { name: 'Options' } ) > 244 | .click(); | ^ 245 | await page.getByRole( 'menuitem', { name: 'Create pattern' } ).click(); 246 | const createPatternDialog = page.getByRole( 'dialog', { 247 | name: 'Create pattern', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:244:5
[webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L244
1) [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Options' }) ============================================================ 242 | .getByRole( 'toolbar', { name: 'Block tools' } ) 243 | .getByRole( 'button', { name: 'Options' } ) > 244 | .click(); | ^ 245 | await page.getByRole( 'menuitem', { name: 'Create pattern' } ).click(); 246 | const createPatternDialog = page.getByRole( 'dialog', { 247 | name: 'Create pattern', at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:244:5
[webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@firefox: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Align"]') ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20 18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` ); 19 | > 20 | await button.click(); | ^ 21 | } 22 | at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:853:3
[webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@firefox: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Align"]') ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20 18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` ); 19 | > 20 | await button.click(); | ^ 21 | } 22 | at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:853:3
[webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@firefox: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Align"]') ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20 18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` ); 19 | > 20 | await button.click(); | ^ 21 | } 22 | at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:853:3
[webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L952
3) [webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@Firefox, @WebKit) › escape should toggle between edit and navigation modes Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByLabel('Block tools') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('Block tools') 950 | const blockToolbar = page.getByLabel( 'Block tools' ); 951 | > 952 | await expect( blockToolbar ).toBeVisible(); | ^ 953 | await expect 954 | .poll( writingFlowUtils.getActiveBlockName ) 955 | .toBe( 'core/paragraph' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:952:32
[webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L952
3) [webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@Firefox, @WebKit) › escape should toggle between edit and navigation modes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByLabel('Block tools') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('Block tools') 950 | const blockToolbar = page.getByLabel( 'Block tools' ); 951 | > 952 | await expect( blockToolbar ).toBeVisible(); | ^ 953 | await expect 954 | .poll( writingFlowUtils.getActiveBlockName ) 955 | .toBe( 'core/paragraph' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:952:32
[webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@firefox: test/e2e/specs/editor/various/writing-flow.spec.js#L952
3) [webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@Firefox, @WebKit) › escape should toggle between edit and navigation modes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByLabel('Block tools') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByLabel('Block tools') 950 | const blockToolbar = page.getByLabel( 'Block tools' ); 951 | > 952 | await expect( blockToolbar ).toBeVisible(); | ^ 953 | await expect 954 | .poll( writingFlowUtils.getActiveBlockName ) 955 | .toBe( 'core/paragraph' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:952:32
[webkit] › editor/various/writing-flow.spec.js:1124:2 › Writing Flow (@firefox: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
4) [webkit] › editor/various/writing-flow.spec.js:1124:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Options"]') ============================================================ at ../../../packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20 18 | const button = blockToolbar.locator( `role=button[name="${ label }"]` ); 19 | > 20 | await button.click(); | ^ 21 | } 22 | at Editor.clickBlockToolbarButton (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts:20:15) at Editor.clickBlockOptionsMenuItem (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/click-block-options-menu-item.ts:13:2) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1128:3
Playwright - 6
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 6
The operation was canceled.
Playwright - 5
The operation was canceled.
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 - 8
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 8
The operation was canceled.
Playwright - 1
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 1
The operation was canceled.
Playwright - 4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 4
The operation was canceled.
Playwright - 2
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Playwright - 2
The operation was canceled.
Playwright - 2
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
Playwright - 3
The operation was canceled.
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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
4 failed [webkit] › editor/various/inserting-blocks.spec.js:209:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter [webkit] › editor/various/writing-flow.spec.js:843:2 › Writing Flow (@Firefox, @WebKit) › should not have a dead zone above an aligned block [webkit] › editor/various/writing-flow.spec.js:930:2 › Writing Flow (@Firefox, @WebKit) › escape should toggle between edit and navigation modes [webkit] › editor/various/writing-flow.spec.js:1124:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern 1 flaky [webkit] › editor/blocks/navigation-frontend-interactivity.spec.js:91:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions in Safari (@WebKit) 184 passed (10.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
18.5 MB
flaky-tests-report Expired
1.23 KB