Skip to content

Media & text: Update the image replacement logic #105306

Media & text: Update the image replacement logic

Media & text: Update the image replacement logic #105306

Triggered via pull request May 28, 2024 13:00
Status Success
Total duration 24m 2s
Artifacts 2

end2end-test.yml

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

Annotations

2 errors, 1 warning, and 8 notices
[firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@firefox: packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts#L57
1) [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions TimeoutError: locator.waitFor: Timeout 10000ms exceeded. Call log: - waiting for locator('.edit-site-canvas-loader, .edit-site-canvas-spinner') to be visible at ../../../packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57 55 | // Wait for the canvas loader to appear first, so that the locator that 56 | // waits for the hidden state doesn't resolve prematurely. > 57 | await canvasLoader.waitFor( { state: 'visible' } ); | ^ 58 | await canvasLoader.waitFor( { 59 | state: 'hidden', 60 | // Bigger timeout is needed for larger entities, like the Large Post at Admin.visitSiteEditor (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/admin/visit-site-editor.ts:57:22) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/navigation-frontend-interactivity.spec.js:353:4
[chromium] › editor/blocks/image.spec.js:619:2 › Image › image inserted via link should appear in the frontend published post content: test/e2e/specs/editor/blocks/image.spec.js#L647
1) [chromium] › editor/blocks/image.spec.js:619:2 › Image › image inserted via link should appear in the frontend published post content Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Image"i]').locator('role=img') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" - locator resolved to <img alt="This image has an empty alt attribute; its …/> - unexpected value "hidden" 645 | 646 | const imageInEditor = imageBlock.locator( 'role=img' ); > 647 | await expect( imageInEditor ).toBeVisible(); | ^ 648 | await expect( imageInEditor ).toHaveAttribute( 'src', imgUrl ); 649 | 650 | const postId = await editor.publishPost(); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:647:33
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
4 skipped 191 passed (5.6m)
🎭 Playwright Run Summary
1 flaky [firefox] › editor/blocks/navigation-frontend-interactivity.spec.js:378:3 › Navigation block - Frontend interactivity › Submenus (Arrow setting) (@Firefox, @WebKit) › submenu click on the arrow interactions 3 skipped 145 passed (8.3m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/blocks/image.spec.js:619:2 › Image › image inserted via link should appear in the frontend published post content 189 passed (9.7m)
🎭 Playwright Run Summary
1 skipped 190 passed (9.4m)
🎭 Playwright Run Summary
1 skipped 188 passed (9.6m)
🎭 Playwright Run Summary
185 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 189 passed (10.8m)
🎭 Playwright Run Summary
222 passed (12.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
2.59 MB
flaky-tests-report Expired
2.16 KB