Site Editor Pages: load the appropriate template if posts page set #77983
Annotations
2 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: /80253f15-33b7-45bf-8e14-ca0c3ed1120d/
Received string: "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
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/3f79468f-1e99-4227-a831-d720227e728a"
- 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/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/3f79468f-1e99-4227-a831-d720227e728a"
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: /425d2004-f015-47db-b782-8a1ffa5725c0/
Received string: "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
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/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- 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/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98e58c09-30f1-4aed-8fea-c3dd125243a0"
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
|
|
The logs for this run have expired and are no longer available.
Loading