Skip to content

Fix: Block toolbar obscuring document tools when Top Toolbar is enabled #78848

Fix: Block toolbar obscuring document tools when Top Toolbar is enabled

Fix: Block toolbar obscuring document tools when Top Toolbar is enabled #78848

Triggered via pull request July 19, 2023 14:58
Status Success
Total duration 33m 20s
Artifacts 2

end2end-test.yml

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

Annotations

2 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: /cecfb3fd-72d3-423d-9acb-bcd6ea70ae87/ Received string: "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" 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/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - 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/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f32e3283-97ea-4b16-bf40-1c49cc66e40c" 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:840: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#L789
2) [chromium] › editor/blocks/image.spec.js:840: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: /9bfdf358-d145-4668-974d-57c7500db8dc/ Received string: "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" 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/861e2e8d-ee81-4bb2-9dce-a028410be54a" - 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/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/861e2e8d-ee81-4bb2-9dce-a028410be54a" 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 Run Summary
2 skipped 173 passed (10.9m)
🎭 Playwright Run Summary
155 passed (12.5m)
🎭 Playwright Run Summary
183 passed (16.2m)
🎭 Playwright Run Summary
2 flaky [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes [chromium] › editor/blocks/image.spec.js:840: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.5m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
6.94 MB
flaky-tests-report Expired
22.4 KB