Skip to content

Patterns: update the title of Pattern block in the block inspector card #78214

Patterns: update the title of Pattern block in the block inspector card

Patterns: update the title of Pattern block in the block inspector card #78214

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

5 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: /c9f4a29d-0665-46ae-a31a-b43b69581ed4/ Received string: "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" 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/0bc45278-3f99-4bf9-9635-14511a7f1cce" - 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/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0bc45278-3f99-4bf9-9635-14511a7f1cce" 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: /7d649fd5-6f26-43f2-adf5-634588e0bfbd/ Received string: "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" 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/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - 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/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e3d726fe-38a0-45cf-bc8d-0f722acfe722" 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: /440e5e3a-fff7-44bd-9eae-5845bf539103/ Received string: "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" 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/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - 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/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/5f43da8f-1d38-4b34-8732-a232f76cdb7e" 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:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image: test/e2e/specs/editor/blocks/image.spec.js#L789
2) [chromium] › editor/blocks/image.spec.js:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image Error: expect(received).toHaveAttribute(expected) Expected pattern: /732e14eb-560a-4194-a5c2-d60bfda8333b/ Received string: "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" 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/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - 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/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/70ccef0f-c3d0-40da-81bb-0e6bbfd78527" 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.7m)
🎭 Playwright Run Summary
179 passed (13.2m)
🎭 Playwright Run Summary
151 passed (12.5m)
🎭 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 1 flaky [chromium] › editor/blocks/image.spec.js:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image 179 passed (19.1m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
14.1 MB
flaky-tests-report Expired
11.3 KB