[RNMobile] Add WP hook for registering non-core blocks #78921
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: /93fb324f-9461-4ea6-babf-b8a9c30c839e/
Received string: "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
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/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- 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/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/99ec9b5a-4237-4344-99a7-dc4b11008c88"
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: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: /ead65782-4520-4774-b69c-e2024ee1c78a/
Received string: "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
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/06c34e8c-9216-413a-b740-9ba9808a6da0"
- 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/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/06c34e8c-9216-413a-b740-9ba9808a6da0"
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
|
2 flaky
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes
[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
185 passed (17.6m)
|
The logs for this run have expired and are no longer available.
Loading