Skip to content

Add README for BlockCaption component #78213

Add README for BlockCaption component

Add README for BlockCaption component #78213

Triggered via pull request July 11, 2023 23:04
Status Failure
Total duration 36m 48s
Artifacts 2

end2end-test.yml

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

Annotations

7 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Error: expect(received).toHaveAttribute(expected) Expected pattern: /4bc9819d-36da-4a51-8a7d-3828419cab93/ Received string: "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" 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/992b74e9-b780-4ded-8d9a-a52e3a427ead" - 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/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/992b74e9-b780-4ded-8d9a-a52e3a427ead" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /b958c49e-9842-476d-8119-bd7b8197068a/ Received string: "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" 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/3e080178-6b56-425c-8312-094c418a43f7" - 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/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3e080178-6b56-425c-8312-094c418a43f7" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /888269a5-28eb-4f17-a29c-1e6376903659/ Received string: "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" 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/cc36ad4b-1540-4189-a164-eaf77c20eec8" - 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/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/cc36ad4b-1540-4189-a164-eaf77c20eec8" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:936: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#L789
2) [chromium] › editor/blocks/image.spec.js:936: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(received).toHaveAttribute(expected) Expected pattern: /90dcd804-ea32-4ce4-a734-a344089af611/ Received string: "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" 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/12deaa7e-71aa-4694-8571-1704daacbd50" - 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/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/12deaa7e-71aa-4694-8571-1704daacbd50" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:1074:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should NOT appear if Behavior is None: test/e2e/specs/editor/blocks/image.spec.js#L789
3) [chromium] › editor/blocks/image.spec.js:1074:4 › Image - interactivity › tests using uploaded image › Animation Select visibility › Animation selector should NOT appear if Behavior is None Error: expect(received).toHaveAttribute(expected) Expected pattern: /9feb6c01-c794-45da-9801-57bbbafe2a6e/ Received string: "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" 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/a89f2fdb-e744-495a-9964-f66ff2511b1e" - 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/a89f2fdb-e744-495a-9964-f66ff2511b1e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a89f2fdb-e744-495a-9964-f66ff2511b1e" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:1150:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should close and focus appropriately using escape key: test/e2e/specs/editor/blocks/image.spec.js#L789
4) [chromium] › editor/blocks/image.spec.js:1150:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should close and focus appropriately using escape key Error: expect(received).toHaveAttribute(expected) Expected pattern: /18fda1ce-0eea-494d-bfdc-caec6eff2f6f/ Received string: "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" 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/45a357c1-2eee-4ad8-b169-44deb11f8f69" - 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/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/45a357c1-2eee-4ad8-b169-44deb11f8f69" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
Playwright - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
151 passed (12.1m)
🎭 Playwright Run Summary
179 passed (12.7m)
🎭 Playwright Run Summary
2 skipped 164 passed (14.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes 3 flaky [chromium] › editor/blocks/image.spec.js:936: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:1074: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:1150:4 › Image - interactivity › tests using uploaded image › keyboard navigation › should close and focus appropriately using escape key 177 passed (20.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
21.9 MB
flaky-tests-report Expired
32.9 KB