Skip to content

fix: disable default UI when no components context is found #7303

fix: disable default UI when no components context is found

fix: disable default UI when no components context is found #7303

Triggered via pull request April 13, 2026 11:36
Status Failure
Total duration 6m 50s
Artifacts 14

build.yml

on: pull_request
Matrix: playwright
Merge Playwright Reports
42s
Merge Playwright Reports
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 9 warnings, and 6 notices
Build
Process completed with exit code 1.
src/unit/nextjs/serverUtil.test.ts > server-util in Next.js App Router (#942) [dev] > ServerBlockNoteEditor works in API route (mirrors ReactServer.test.tsx): tests/src/unit/nextjs/serverUtil.test.ts#L121
Error: Failed to load external module @blocknote/server-util-75e92fb5494c0070: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/runner/work/BlockNote/BlockNote/tests/nextjs-test-app/node_modules/fast-deep-equal/es6/react' imported from /home/runner/work/BlockNote/BlockNote/tests/nextjs-test-app/node_modules/@blocknote/react/dist/defaultCommentEditorSchema--ayGqfpd.js Did you mean to import "fast-deep-equal/es6/react.js"? ❯ src/unit/nextjs/serverUtil.test.ts:121:13
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:275:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with multiple children: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:275:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with multiple children Error: expect(string).toMatchSnapshot(expected) @@ -18,21 +18,21 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragraph" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "2" + "id": "1" }, "content": [ { "type": "paragraph", "attrs": { @@ -41,11 +41,11 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "Paragraph" + "text": "ParagraphParagraph" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteMultipleChildren-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-14f97-lock-with-multiple-children-webkit/deleteMultipleChildren-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 | at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:288:5
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 1007 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
Playwright Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - chromium (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - firefox (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - webkit (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - firefox (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - chromium (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - webkit (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Merge Playwright Reports
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
40 passed (35.2s)
🎭 Playwright Run Summary
40 passed (45.4s)
🎭 Playwright Run Summary
40 passed (1.0m)
🎭 Playwright Run Summary
12 skipped 72 passed (1.4m)
🎭 Playwright Run Summary
2 skipped 82 passed (1.2m)
🎭 Playwright Run Summary
2 flaky [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─ [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:275:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with multiple children 10 skipped 72 passed (2.5m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
114 KB
sha256:4d33e61cd90e4938b53fcba104864c3fde0c1a98aa6f3bf3b8eb6f6d42220458
blob-report-chromium-2 Expired
48.7 KB
sha256:4bc50a6481ad1a1ba33cbc8667259b3417f879226fcfdad67693417fdbed200b
blob-report-firefox-1 Expired
103 KB
sha256:1282bcc10d97ea02e3c8c8d49a1b1379302b18cfb2df5fed7b7d8625f70d0faa
blob-report-firefox-2 Expired
49.6 KB
sha256:da7c7a62f20d06a2017ec2db70734c87bd02c985b170c3a065fe7f273a97b392
blob-report-webkit-1 Expired
5.26 MB
sha256:f5800867e1d42c93b91be49b4e6863a0caf6bc0a8c780008f8570af89f8e08a0
blob-report-webkit-2 Expired
49.4 KB
sha256:c544bd085867f3056edd551b45a3d916c28351c73c64c7246233c6d538600750
playwright-build Expired
21.6 MB
sha256:cea13d62178ad8d9b3d647ae5588380b86f6ccadf128e050b2b56942c35bcc10
playwright-report-chromium-1
247 KB
sha256:dd8fa41472f0dafb32a4ef35f159c707bfc202055fb0b16938afec32b0fee53b
playwright-report-chromium-2
207 KB
sha256:7f82250ce7dfde8388a27363df4d7cb2cd13c9d51e307faf16bf2c9afdd7fc82
playwright-report-firefox-1
240 KB
sha256:3ec9b8302def56bef5dd654adc0fa06dd52ee9e4d957541f604b4fcccfdf4f92
playwright-report-firefox-2
207 KB
sha256:3a6df26b2d6f03a94b64e5530259a9826f2d69334eadda6f8bf71773ebd87249
playwright-report-merged
5.82 MB
sha256:d35761fc679cbea68d6ee36dbf0420cfbc4c5df16ef170e9caba95f37cbb9e5d
playwright-report-webkit-1
5.75 MB
sha256:a8ae4de2b1a3262c14c394a2261f5fe0ac7b6ff19e41e61d4a675fa6d5194cb6
playwright-report-webkit-2
208 KB
sha256:6b9bab55748a7537c074d2793b106821b7e9ca6325aa0d43049097b2542384eb