Skip to content

ToolTip: refactor using ariakit #79412

ToolTip: refactor using ariakit

ToolTip: refactor using ariakit #79412

Triggered via pull request July 26, 2023 22:20
Status Success
Total duration 34m 16s
Artifacts 2

end2end-test.yml

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

Annotations

3 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: /a43ab4e3-63c9-4569-ac73-95594f2c3dcb/ Received string: "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" 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/28bce574-e87e-4d2f-98a2-6785258cb003" - 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/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/28bce574-e87e-4d2f-98a2-6785258cb003" 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: /39fef295-0a19-4d9c-b1ec-5f190145cc10/ Received string: "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" 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/fba578cd-487a-49e4-b5c0-47da925a80fb" - 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/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/fba578cd-487a-49e4-b5c0-47da925a80fb" 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: /a5495feb-73fb-4eb5-9987-337c38a279c1/ Received string: "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" 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/6e3ab87e-4341-4475-928b-159d3e517a30" - 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/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/6e3ab87e-4341-4475-928b-159d3e517a30" 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 Run Summary
184 passed (12.1m)
🎭 Playwright Run Summary
2 skipped 173 passed (11.7m)
🎭 Playwright Run Summary
158 passed (16.4m)
🎭 Playwright Run Summary
2 flaky [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes [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 186 passed (18.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
6.33 MB
flaky-tests-report Expired
33.9 KB