Skip to content

Upgrade Playwright to 1.39.0 #82227

Upgrade Playwright to 1.39.0

Upgrade Playwright to 1.39.0 #82227

Triggered via pull request August 30, 2023 09:27
Status Failure
Total duration 29m 29s
Artifacts 2

end2end-test.yml

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

Annotations

10 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder: test/e2e/specs/editor/blocks/image.spec.js#L214
1) [chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder Error: expect.toHaveAttribute: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img src="blob:http://localhost:8889/80f32c07-4072-49…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 80f32c07-4072-4949-b690-a87118b01fd1' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByRole('img').nth(1) =========================== logs =========================== expect.toHaveAttribute with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 212 | ); 213 | > 214 | await expect( image ).toHaveAttribute( 'src', new RegExp( fileName ) ); | ^ 215 | } ); 216 | 217 | test( 'allows zooming using the crop tools', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:214:25
[chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder: test/e2e/specs/editor/blocks/image.spec.js#L214
1) [chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toHaveAttribute: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img src="blob:http://localhost:8889/9f65552a-60bb-4a…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 9f65552a-60bb-4ae8-b6f2-4a773b4f177e' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByRole('img').nth(1) =========================== logs =========================== expect.toHaveAttribute with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 212 | ); 213 | > 214 | await expect( image ).toHaveAttribute( 'src', new RegExp( fileName ) ); | ^ 215 | } ); 216 | 217 | test( 'allows zooming using the crop tools', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:214:25
[chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder: test/e2e/specs/editor/blocks/image.spec.js#L214
1) [chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toHaveAttribute: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img src="blob:http://localhost:8889/34262210-4a95-45…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 34262210-4a95-45c3-8fdd-507c075d5bee' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByRole('img').nth(1) =========================== logs =========================== expect.toHaveAttribute with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 212 | ); 213 | > 214 | await expect( image ).toHaveAttribute( 'src', new RegExp( fileName ) ); | ^ 215 | } ); 216 | 217 | test( 'allows zooming using the crop tools', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:214:25
[chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content: test/e2e/specs/editor/blocks/image.spec.js#L581
2) [chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img alt="This image has an empty alt attribute" src=…/> aka getByRole('img', { name: 'This image has an empty alt attribute' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 579 | 580 | const imageInEditor = imageBlock.locator( 'role=img' ); > 581 | await expect( imageInEditor ).toBeVisible(); | ^ 582 | await expect( imageInEditor ).toHaveAttribute( 583 | 'src', 584 | new RegExp( filename ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:581:33
[chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content: test/e2e/specs/editor/blocks/image.spec.js#L581
2) [chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img src="blob:http://localhost:8889/f010c67d-1c0a-4c…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 529a17df-658c-4244-89d6-84dce6768e5d.png' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 579 | 580 | const imageInEditor = imageBlock.locator( 'role=img' ); > 581 | await expect( imageInEditor ).toBeVisible(); | ^ 582 | await expect( imageInEditor ).toHaveAttribute( 583 | 'src', 584 | new RegExp( filename ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:581:33
[chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content: test/e2e/specs/editor/blocks/image.spec.js#L581
2) [chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img alt="This image has an empty alt attribute" src=…/> aka getByRole('img', { name: 'This image has an empty alt attribute' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 579 | 580 | const imageInEditor = imageBlock.locator( 'role=img' ); > 581 | await expect( imageInEditor ).toBeVisible(); | ^ 582 | await expect( imageInEditor ).toHaveAttribute( 583 | 'src', 584 | new RegExp( filename ) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:581:33
[chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L821
3) [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img alt="This image has an empty alt attribute" src=…/> aka getByRole('img', { name: 'This image has an empty alt attribute' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 819 | ); 820 | const image = imageBlock.locator( 'role=img' ); > 821 | await expect( image ).toBeVisible(); | ^ 822 | await expect( image ).toHaveAttribute( 823 | 'src', 824 | new RegExp( filename ), at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:821:27
[chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L821
3) [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img alt="This image has an empty alt attribute" src=…/> aka getByRole('img', { name: 'This image has an empty alt attribute' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 819 | ); 820 | const image = imageBlock.locator( 'role=img' ); > 821 | await expect( image ).toBeVisible(); | ^ 822 | await expect( image ).toHaveAttribute( 823 | 'src', 824 | new RegExp( filename ), at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:821:27
[chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L821
3) [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img alt="This image has an empty alt attribute" src=…/> aka getByRole('img', { name: 'This image has an empty alt attribute' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 819 | ); 820 | const image = imageBlock.locator( 'role=img' ); > 821 | await expect( image ).toBeVisible(); | ^ 822 | await expect( image ).toHaveAttribute( 823 | 'src', 824 | new RegExp( filename ), at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:821:27
[chromium] › editor/blocks/image.spec.js:931:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation: test/e2e/specs/editor/blocks/image.spec.js#L946
4) [chromium] › editor/blocks/image.spec.js:931:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Image"i]').locator('role=img') resolved to 2 elements: 1) <img alt="This image has an empty alt attribute" src=…/> aka getByRole('img', { name: 'This image has an empty alt attribute' }) 2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg') =========================== logs =========================== expect.toBeVisible with timeout 5000ms waiting for locator('role=document[name="Block: Image"i]').locator('role=img') ============================================================ 944 | ); 945 | const image = imageBlock.locator( 'role=img' ); > 946 | await expect( image ).toBeVisible(); | ^ 947 | await expect( image ).toHaveAttribute( 948 | 'src', 949 | new RegExp( filename ), at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:946:27
🎭 Playwright Run Summary
1 skipped 209 passed (12.6m)
🎭 Playwright Run Summary
223 passed (14.3m)
🎭 Playwright Run Summary
8 failed [chromium] › editor/blocks/image.spec.js:175:2 › Image › should drag and drop files into media placeholder [chromium] › editor/blocks/image.spec.js:565:2 › Image › image inserted via upload should appear in the frontend published post content [chromium] › editor/blocks/image.spec.js:806:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation [chromium] › editor/blocks/image.spec.js:931:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation [chromium] › editor/blocks/image.spec.js:1083:3 › Image - interactivity › tests using uploaded image › markup should not appear if Lightbox is disabled [chromium] › editor/blocks/image.spec.js:1121:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should appear if Behavior is Lightbox [chromium] › editor/blocks/image.spec.js:1154:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should NOT appear if Behavior is None [chromium] › editor/blocks/image.spec.js:1262:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should open and focus appropriately using enter key 8 flaky [chromium] › editor/blocks/image.spec.js:91:2 › Image › should allow soft line breaks in caption [chromium] › editor/blocks/image.spec.js:121:2 › Image › should have keyboard navigable toolbar for caption [chromium] › editor/blocks/image.spec.js:284:2 › Image › allows changing aspect ratio using the crop tools [chromium] › editor/blocks/image.spec.js:378:2 › Image › should undo without broken temporary state [chromium] › editor/blocks/image.spec.js:752:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes [chromium] › editor/blocks/image.spec.js:1030:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image [chromium] › editor/blocks/image.spec.js:1272:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should close and focus appropriately using enter key on close button [chromium] › editor/blocks/image.spec.js:1285:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should close and focus appropriately using escape key 200 passed (16.1m)
🎭 Playwright Run Summary
2 skipped 208 passed (17.1m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
39.9 MB
flaky-tests-report Expired
45.4 KB