Skip to content

Add aspect ratio presets support via theme.json #103011

Add aspect ratio presets support via theme.json

Add aspect ratio presets support via theme.json #103011

Triggered via pull request May 2, 2024 09:59
Status Failure
Total duration 24m 47s
Artifacts 2

end2end-test.yml

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

Annotations

6 errors, 1 warning, and 8 notices
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools: test/e2e/specs/editor/blocks/image.spec.js#L329
1) [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=menu[name="Aspect Ratio"i]').locator('role=menuitemradio[name="16:9"i]') 327 | await editor.clickBlockToolbarButton( 'Crop' ); 328 | await editor.clickBlockToolbarButton( 'Aspect Ratio' ); > 329 | await page.click( | ^ 330 | 'role=menu[name="Aspect Ratio"i] >> role=menuitemradio[name="16:9"i]' 331 | ); 332 | await editor.clickBlockToolbarButton( 'Apply' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:329:14
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools: test/e2e/specs/editor/blocks/image.spec.js#L329
1) [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=menu[name="Aspect Ratio"i]').locator('role=menuitemradio[name="16:9"i]') 327 | await editor.clickBlockToolbarButton( 'Crop' ); 328 | await editor.clickBlockToolbarButton( 'Aspect Ratio' ); > 329 | await page.click( | ^ 330 | 'role=menu[name="Aspect Ratio"i] >> role=menuitemradio[name="16:9"i]' 331 | ); 332 | await editor.clickBlockToolbarButton( 'Apply' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:329:14
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools: test/e2e/specs/editor/blocks/image.spec.js#L329
1) [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=menu[name="Aspect Ratio"i]').locator('role=menuitemradio[name="16:9"i]') 327 | await editor.clickBlockToolbarButton( 'Crop' ); 328 | await editor.clickBlockToolbarButton( 'Aspect Ratio' ); > 329 | await page.click( | ^ 330 | 'role=menu[name="Aspect Ratio"i] >> role=menuitemradio[name="16:9"i]' 331 | ); 332 | await editor.clickBlockToolbarButton( 'Apply' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:329:14
Playwright - 1
Process completed with exit code 1.
[webkit] › editor/various/inserting-blocks.spec.js:327:2 › Inserting blocks (@firefox: test/e2e/specs/editor/various/inserting-blocks.spec.js#L370
1) [webkit] › editor/various/inserting-blocks.spec.js:327:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape 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') 368 | await insertingBlocksUtils.dragOver( paragraphBoundingBox ); 369 | > 370 | await expect( insertingBlocksUtils.indicator ).toBeVisible(); | ^ 371 | await expect( insertingBlocksUtils.draggableChip ).toBeVisible(); 372 | 373 | await page.keyboard.press( 'Escape' ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/inserting-blocks.spec.js:370: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
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
3 skipped 182 passed (6.0m)
🎭 Playwright Run Summary
3 skipped 145 passed (7.7m)
🎭 Playwright Run Summary
186 passed (8.4m)
🎭 Playwright Run Summary
1 skipped 177 passed (8.8m)
🎭 Playwright Run Summary
1 skipped 191 passed (9.6m)
🎭 Playwright Run Summary
1 skipped 184 passed (9.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools 11 skipped 179 passed (9.5m)
🎭 Playwright Run Summary
1 flaky [webkit] › editor/various/inserting-blocks.spec.js:327:2 › Inserting blocks (@Firefox, @WebKit) › cancels dragging patterns from the global inserter by pressing Escape 220 passed (12.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
5.69 MB
flaky-tests-report Expired
1.03 KB