Skip to content

Modal: Fix loss of focus when clicking outside #78556

Modal: Fix loss of focus when clicking outside

Modal: Fix loss of focus when clicking outside #78556

Re-run triggered July 15, 2023 19:53
Status Failure
Total duration 34m 45s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 19s
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: /9e71c7bb-5aa2-41ac-a687-8d5ca402f083/ Received string: "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" 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/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - 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/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ec29a5b5-e8fb-4afe-bb70-5a1e9d1742f4" 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: /ed464241-06b3-415a-9fd5-4f455101f31d/ Received string: "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" 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/96e3f951-1273-450c-816d-afcc923daed6" - 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/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/96e3f951-1273-450c-816d-afcc923daed6" 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: /e8c4af28-4eb6-4180-9996-75de25e4c0d4/ Received string: "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" 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/d633b390-2c82-4b10-8d64-b6ac4096d085" - 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/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d633b390-2c82-4b10-8d64-b6ac4096d085" 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
152 passed (15.2m)
🎭 Playwright Run Summary
2 skipped 164 passed (14.9m)
🎭 Playwright Run Summary
195 passed (13.0m)
🎭 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 170 passed (19.5m)

Artifacts

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