Skip to content

Font Collections: update registration function signature and add caching #94786

Font Collections: update registration function signature and add caching

Font Collections: update registration function signature and add caching #94786

Re-run triggered January 29, 2024 16:41
Status Failure
Total duration 19m 40s
Artifacts 3

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
3m 29s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 10 warnings, and 8 notices
[chromium] › interactivity/tovdom-islands.spec.ts:42:6 › toVdom - islands › directives inside islands should not be hydrated twice: test/e2e/specs/interactivity/tovdom-islands.spec.ts#L47
1) [chromium] › interactivity/tovdom-islands.spec.ts:42:6 › toVdom - islands › directives inside islands should not be hydrated twice Error: expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 45 | const el = page.getByTestId( 'island inside another island' ); 46 | const templates = el.locator( 'template' ); > 47 | expect( await templates.count() ).toEqual( 1 ); | ^ 48 | } ); 49 | 50 | test( 'islands inside inner blocks of isolated islands should be hydrated', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/tovdom-islands.spec.ts:47:37
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed: 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
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed: 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
[chromium] › editor/blocks/avatar.spec.js:29:2 › Avatar › should change image when user is changed: 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
[chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images: 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
[chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images: 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
[chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images: 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
Playwright - 1
Process completed with exit code 1.
Puppeteer
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/.
Playwright - 6
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/.
Playwright - 3
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/.
Playwright - 4
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/.
Playwright - 7
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/.
Playwright - 8
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/.
Playwright - 5
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/.
Playwright - 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/.
Playwright - 2
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/.
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
4 skipped 119 passed (8.9m)
🎭 Playwright Run Summary
158 passed (9.6m)
🎭 Playwright Run Summary
140 passed (9.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › interactivity/tovdom-islands.spec.ts:42:6 › toVdom - islands › directives inside islands should not be hydrated twice 177 passed (9.0m)
🎭 Playwright Run Summary
3 skipped 119 passed (9.2m)
🎭 Playwright Run Summary
1 skipped 176 passed (9.6m)
🎭 Playwright Run Summary
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)
🎭 Playwright Run Summary
1 skipped 143 passed (9.3m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
7.5 MB