Skip to content

ToolTip: refactor using ariakit #77965

ToolTip: refactor using ariakit

ToolTip: refactor using ariakit #77965

Triggered via pull request July 8, 2023 01:10
Status Failure
Total duration 34m 23s
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

4 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: /ec4c364b-c596-43b7-98ff-a22cc5c504f1/ Received string: "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" 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/0804b862-8ce2-45f3-92db-be0a68c64a04" - 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/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0804b862-8ce2-45f3-92db-be0a68c64a04" 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: /00472145-5278-4f59-9e36-721a90aae145/ Received string: "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" 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/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - 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/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/37b2ec2e-ef67-4a1b-aaf6-802ccd2b6089" 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: /8317c846-3daf-4a5e-803f-b61a25793210/ Received string: "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" 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/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - 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/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/8ef83dc7-ed0e-40ad-9b56-2607874f74a8" 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
2 skipped 164 passed (12.1m)
🎭 Playwright Run Summary
151 passed (12.6m)
🎭 Playwright Run Summary
177 passed (12.9m)
🎭 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 180 passed (17.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
10.5 MB
flaky-tests-report Expired
1 KB