Skip to content

Site Editor: Fix incorrect 'useSelect' usage #78626

Site Editor: Fix incorrect 'useSelect' usage

Site Editor: Fix incorrect 'useSelect' usage #78626

Triggered via pull request July 17, 2023 11:51
Status Success
Total duration 31m 46s
Artifacts 2

end2end-test.yml

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

Annotations

2 errors and 4 notices
[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
1) [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: /9cac03bf-18d1-4c3e-8572-ff2d4c795062/ Received string: "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" 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/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - 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/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/83547a39-afab-4b0e-aac4-d5a070d7a2d0" 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
1) [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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /56eb0a13-8334-4faa-b2bd-9035f3579105/ Received string: "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" 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/d5239264-8fa9-4dde-8103-75cde813a1b8" - 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/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d5239264-8fa9-4dde-8103-75cde813a1b8" 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 164 passed (13.2m)
🎭 Playwright Run Summary
153 passed (14.0m)
🎭 Playwright Run Summary
179 passed (15.5m)
🎭 Playwright Run Summary
1 flaky [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 186 passed (18.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
6.87 MB
flaky-tests-report Expired
22.5 KB