Skip to content

[Documentation] Add some examples to the core/data package #79262

[Documentation] Add some examples to the core/data package

[Documentation] Add some examples to the core/data package #79262

Triggered via pull request July 25, 2023 14:45
Status Failure
Total duration 34m 59s
Artifacts 2

end2end-test.yml

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

Annotations

5 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L764
1) [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Error: expect(received).toHaveAttribute(expected) Expected pattern: /773ce31a-7a11-42e5-badc-d0c152489b34/ Received string: "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/34c5bd99-c084-485e-856d-9f06657f7005" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L764
1) [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /4a645cc8-3a4d-401c-8145-d4f4972b4a00/ Received string: "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/4227b013-c0f0-4ae6-99ae-c7c6072069a3" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L764
1) [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /e611895b-16a6-45ba-85f9-bd9b4ad608de/ Received string: "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28393328-693f-4732-a83e-0776333ddaae" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
[chromium] › editor/blocks/image.spec.js:815: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#L764
2) [chromium] › editor/blocks/image.spec.js:815: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(received).toHaveAttribute(expected) Expected pattern: /de6d09ba-5f95-4326-84a2-7fd8eb2cf66b/ Received string: "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e6509a15-81d8-448c-baa4-b73ed24c7b8f" 762 | const image = imageBlock.locator( 'role=img' ); 763 | await expect( image ).toBeVisible(); > 764 | await expect( image ).toHaveAttribute( | ^ 765 | 'src', 766 | new RegExp( filename ) 767 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
Playwright - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 173 passed (14.2m)
🎭 Playwright Run Summary
184 passed (15.5m)
🎭 Playwright Run Summary
158 passed (15.8m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes 1 flaky [chromium] › editor/blocks/image.spec.js:815: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 185 passed (18.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
7.37 MB
flaky-tests-report Expired
11.2 KB