Font Collections: update registration function signature and add caching #94786
Annotations
7 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/avatar.spec.js#L73
1) [chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
Error: expect(received).not.toBe(expected) // Object.is equality
Expected: not "http://1.gravatar.com/avatar/?d=mm&f=y&r=g&s=192"
71 | const newSrc = await updatedAvatarImage.getAttribute( 'src' );
72 |
> 73 | expect( newSrc ).not.toBe( originalSrc );
| ^
74 | } );
75 | } );
76 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/avatar.spec.js:73:24
|
Run the tests:
test/e2e/specs/editor/blocks/avatar.spec.js#L73
1) [chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).not.toBe(expected) // Object.is equality
Expected: not "http://2.gravatar.com/avatar/?d=mm&f=y&r=g&s=192"
71 | const newSrc = await updatedAvatarImage.getAttribute( 'src' );
72 |
> 73 | expect( newSrc ).not.toBe( originalSrc );
| ^
74 | } );
75 | } );
76 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/avatar.spec.js:73:24
|
Run the tests:
test/e2e/specs/editor/blocks/avatar.spec.js#L73
1) [chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).not.toBe(expected) // Object.is equality
Expected: not "http://0.gravatar.com/avatar/?d=mm&f=y&r=g&s=192"
71 | const newSrc = await updatedAvatarImage.getAttribute( 'src' );
72 |
> 73 | expect( newSrc ).not.toBe( originalSrc );
| ^
74 | } );
75 | } );
76 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/avatar.spec.js:73:24
|
Run the tests:
test/e2e/specs/editor/blocks/gallery.spec.js#L106
2) [chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images
Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Gallery"i]').locator('role=img') resolved to 2 elements:
1) <img src="blob:http://localhost:8889/183921be-715f-4d…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 183921be-715f-4df1-89ce-36206f7d71f4' })
2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg')
=========================== logs ===========================
expect.toBeVisible with timeout 5000ms
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Gallery"i]').locator('role=img')
============================================================
104 |
105 | const image = galleryBlock.locator( 'role=img' );
> 106 | await expect( image ).toBeVisible();
| ^
107 | await expect( image ).toHaveAttribute( 'src', new RegExp( filename ) );
108 |
109 | const regex = new RegExp(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:106:25
|
Run the tests:
test/e2e/specs/editor/blocks/gallery.spec.js#L106
2) [chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Gallery"i]').locator('role=img') resolved to 2 elements:
1) <img src="blob:http://localhost:8889/438fbc3b-5ccb-4d…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 438fbc3b-5ccb-4dda-8a07-eeb6d93b58ff' })
2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg')
=========================== logs ===========================
expect.toBeVisible with timeout 5000ms
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Gallery"i]').locator('role=img')
============================================================
104 |
105 | const image = galleryBlock.locator( 'role=img' );
> 106 | await expect( image ).toBeVisible();
| ^
107 | await expect( image ).toHaveAttribute( 'src', new RegExp( filename ) );
108 |
109 | const regex = new RegExp(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:106:25
|
Run the tests:
test/e2e/specs/editor/blocks/gallery.spec.js#L106
2) [chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: locator('role=document[name="Block: Gallery"i]').locator('role=img') resolved to 2 elements:
1) <img src="blob:http://localhost:8889/4f39286d-f5cb-41…/> aka getByRole('img', { name: 'This image has an empty alt attribute; its file name is 4f39286d-f5cb-419b-907d-14062c3fcfb6' })
2) <svg width="16" height="16" focusable="false" role="p…>…</svg> aka getByLabel('Block: Image').locator('svg')
=========================== logs ===========================
expect.toBeVisible with timeout 5000ms
waiting for frameLocator('[name="editor-canvas"]').locator('role=document[name="Block: Gallery"i]').locator('role=img')
============================================================
104 |
105 | const image = galleryBlock.locator( 'role=img' );
> 106 | await expect( image ).toBeVisible();
| ^
107 | await expect( image ).toHaveAttribute( 'src', new RegExp( filename ) );
108 |
109 | const regex = new RegExp(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/gallery.spec.js:106:25
|
Run the tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
2 failed
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed
[chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images
11 skipped
148 passed (9.4m)
|
The logs for this run have expired and are no longer available.
Loading