Patterns: update the title of Pattern block in the block inspector card #78214
Annotations
5 errors and 1 notice
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
|
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
|
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
|
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
|
|
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)
|
The logs for this run have expired and are no longer available.
Loading