Skip to content

Add aspect ratio presets support via theme.json #102989

Add aspect ratio presets support via theme.json

Add aspect ratio presets support via theme.json #102989

Triggered via pull request May 2, 2024 07:36
Status Failure
Total duration 27m 39s
Artifacts 2

end2end-test.yml

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

Annotations

17 errors, 1 warning, and 8 notices
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
1) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?postId=emptytheme%2F%2Fsingle-post-demo&postType=wp_template&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
Playwright - 1
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
[chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools ── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Zoom"]') 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/blocks/image.spec.js:260:3
[chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Zoom"]') 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/blocks/image.spec.js:260:3
[chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
1) [chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Zoom"]') 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/blocks/image.spec.js:260:3
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Aspect Ratio"]') 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/blocks/image.spec.js:328:3
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Aspect Ratio"]') 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/blocks/image.spec.js:328:3
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
2) [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Aspect Ratio"]') 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/blocks/image.spec.js:328:3
[chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools ─ TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Rotate"]') 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/blocks/image.spec.js:378:3
[chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Rotate"]') 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/blocks/image.spec.js:378:3
[chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools: packages/e2e-test-utils-playwright/src/editor/click-block-toolbar-button.ts#L20
3) [chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=toolbar[name="Block tools"i]').locator('role=button[name="Rotate"]') 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/blocks/image.spec.js:378:3
Playwright - 1
Process completed with exit code 1.
[webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L218
1) [webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=block-list-insertion-point-indicator') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-list-insertion-point-indicator') 216 | await insertingBlocksUtils.dragOver( paragraphBoundingBox ); 217 | > 218 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 219 | await insertingBlocksUtils.expectIndicatorBelowParagraph( 220 | paragraphBoundingBox 221 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:218:50
[webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L218
1) [webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=block-list-insertion-point-indicator') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-list-insertion-point-indicator') 216 | await insertingBlocksUtils.dragOver( paragraphBoundingBox ); 217 | > 218 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 219 | await insertingBlocksUtils.expectIndicatorBelowParagraph( 220 | paragraphBoundingBox 221 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:218:50
[webkit] › editor/various/inserting-blocks.spec.js:230:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L301
2) [webkit] › editor/various/inserting-blocks.spec.js:230:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('data-testid=block-list-insertion-point-indicator') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('data-testid=block-list-insertion-point-indicator') 299 | 300 | await insertingBlocksUtils.dragOver( paragraphBoundingBox ); > 301 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 302 | await insertingBlocksUtils.expectIndicatorBelowParagraph( 303 | paragraphBoundingBox 304 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:301:50
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
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./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] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation 3 skipped 181 passed (6.0m)
🎭 Playwright Run Summary
3 skipped 145 passed (7.5m)
🎭 Playwright Run Summary
186 passed (8.5m)
🎭 Playwright Run Summary
1 skipped 184 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 177 passed (8.9m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.7m)
🎭 Playwright Run Summary
3 failed [chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools ─── [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools [chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools ── 11 skipped 177 passed (10.5m)
🎭 Playwright Run Summary
2 flaky [webkit] › editor/various/inserting-blocks.spec.js:168:2 › Inserting blocks (@Firefox, @WebKit) › inserts patterns by dragging and dropping from the global inserter [webkit] › editor/various/inserting-blocks.spec.js:230:2 › Inserting blocks (@Firefox, @WebKit) › inserts synced patterns by dragging and dropping from the global inserter 219 passed (12.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
1.63 MB
flaky-tests-report Expired
899 Bytes