Skip to content

feat: nested blocks POC #7580

feat: nested blocks POC

feat: nested blocks POC #7580

Triggered via pull request April 30, 2026 15:38
Status Success
Total duration 6m 20s
Artifacts 15

build.yml

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

Annotations

3 errors, 1 warning, and 7 notices
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:152:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks for empty block: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:152:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks for empty block Error: expect(string).toMatchSnapshot(expected) @@ -27,11 +27,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "2" + "id": "1" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocksEmpty-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-7d281-sted-blocks-for-empty-block-webkit/backspacePreservesNestedBlocksEmpty-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:170:5
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks: tests/src/end-to-end/customblocks/customblocks.test.ts#L19
1) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 33106 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/vanilla-interactivity-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit-retry1/vanilla-interactivity-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit-retry1/vanilla-interactivity-diff.png 17 | 18 | await compareDocToSnapshot(page, "vanillaInteractivity"); > 19 | expect(await page.screenshot()).toMatchSnapshot( | ^ 20 | "vanilla-interactivity.png", 21 | ); 22 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:19:37
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks: tests/src/end-to-end/customblocks/customblocks.test.ts#L19
1) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks Error: expect(Buffer).toMatchSnapshot(expected) 33106 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/vanilla-interactivity-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit/vanilla-interactivity-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit/vanilla-interactivity-diff.png 17 | 18 | await compareDocToSnapshot(page, "vanillaInteractivity"); > 19 | expect(await page.screenshot()).toMatchSnapshot( | ^ 20 | "vanilla-interactivity.png", 21 | ); 22 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:19:37
Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "ab86f5b4d24812ce87765a8ef3132b9d59930a37", "ref": "2697" }, "key": "Zs5F7mjBnU", "runId": 25174667449, "webhookDebug": { "action": "requested", "head_branch": "feat/nested-blocks", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2697, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:feat/nested-blocks", "oldPrDataHash": "MYpyUz3A65", "lookupKey": "TypeCellOS/BlockNote:feat/nested-blocks", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "ab86f5b4d24812ce87765a8ef3132b9d59930a37", "ref": "2697" } } }
🎭 Playwright Run Summary
42 passed (35.7s)
🎭 Playwright Run Summary
42 passed (46.6s)
🎭 Playwright Run Summary
42 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 89 passed (1.3m)
🎭 Playwright Run Summary
15 skipped 76 passed (1.6m)
🎭 Playwright Run Summary
2 flaky [webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:152:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks for empty block 11 skipped 78 passed (2.5m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
126 KB
sha256:5a8635c2ca989e793bc7112b09b352caa629eae7a1ef093e709b1dd8ce603451
blob-report-chromium-2 Expired
50.9 KB
sha256:44f5b50bac37a6987fb9fb24162733c1fa258d087ac75a1d0860d51f8ca178d7
blob-report-firefox-1 Expired
112 KB
sha256:70c65638a44d547536cea82ebc941fdbd500933295a2071e70960cc79fd86194
blob-report-firefox-2 Expired
51.5 KB
sha256:ebb75187860293fd42655769398d1beee823806d2794d461c59f288b67ed5efa
blob-report-webkit-1 Expired
5.8 MB
sha256:fdb2ada02085df3fd56b0014d4d265315dcb24589da15936c1a90c31ac623cc9
blob-report-webkit-2 Expired
51.8 KB
sha256:7980338bd2895bc60cbf23e8714d4135a89312354f1b67378a3e2581348d1080
playwright-build Expired
21.5 MB
sha256:75a534f4d781f5a573c4b374b95db586db6880e6bff8224ed537d509be65d41a
playwright-report-chromium-1
259 KB
sha256:b4e41ca017cdb2c66829aa989fe6fb7f7c1fd029cb1c4d782545ab188d2734de
playwright-report-chromium-2
208 KB
sha256:53163fba17c97b85e0ecaee55f7ad96451d972fc682de9ce8980cdee4c0caa16
playwright-report-firefox-1
249 KB
sha256:319b4efd0e0c79fedb404dbe5e1292708a174d7976edf4555f6c437556fba8d1
playwright-report-firefox-2
209 KB
sha256:a3ab8701e0c4c67312661604017b7a72da313d7b2215d7ead57f2ddaa75117b2
playwright-report-merged
6.21 MB
sha256:52d7089716e5be767e135dd150811e19c1f7fc49dffa2cbaeeb69c87611b223f
playwright-report-webkit-1
6.15 MB
sha256:1adb90ef272e56fb25f75549f9208d81c9ecdb6ffea7df04a641d2a39f480771
playwright-report-webkit-2
209 KB
sha256:2a365ce6ffdd7a5bd0dd92d5aafc8086bc7aad8b6b3c8ea6e6ee3e9848f605ec
relative-ci-artifacts-editor
48.2 KB
sha256:43991e7ca7991b41a11ef204b6580fad963931ad0a22c741c72ba48a0411497e