Skip to content

refactor: unified drop cursor extension #7043

refactor: unified drop cursor extension

refactor: unified drop cursor extension #7043

Triggered via pull request March 11, 2026 12:45
Status Success
Total duration 8m 1s
Artifacts 15

build.yml

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

Annotations

3 errors, 9 warnings, and 7 notices
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block Error: expect(string).toMatchSnapshot(expected) @@ -23,91 +23,22 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "4" + "id": "1" }, "content": [ { "type": "paragraph", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left" } - }, - { - "type": "blockGroup", - "content": [ - { - "type": "blockContainer", - "attrs": { - "id": "1" - }, - "content": [ - { - "type": "heading", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left", - "level": 2, - "isToggleable": false - }, - "content": [ - { - "type": "text", - "text": "Heading" - } - ] - } - ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "2" - }, - "content": [ - { - "type": "heading", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left", - "level": 3, - "isToggleable": false - }, - "content": [ - { - "type": "text", - "text": "Heading" - } - ] - } - ] - } - ] } ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "3" - }, - "content": [ - { - "type": "paragraph", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left" - } - } - ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-chromium/enterPreservesNestedBlocksEmpty-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) a
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block Error: expect(string).toMatchSnapshot(expected) @@ -17,26 +17,10 @@ "textColor": "default", "textAlignment": "left", "level": 1, "isToggleable": false } - } - ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "4" - }, - "content": [ - { - "type": "paragraph", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left" - } }, { "type": "blockGroup", "content": [ { @@ -55,19 +39,41 @@ "isToggleable": false }, "content": [ { "type": "text", - "text": "Heading" + "text": "Hea" } ] } ] }, { "type": "blockContainer", "attrs": { + "id": "4" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "ding" + } + ] + } + ] + }, + { + "type": "blockContainer", + "attrs": { "id": "2" }, "content": [ { "type": "heading", Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-webkit/enterPreservesNestedBlocksEmpty-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:95: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) 1005 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. 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, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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. 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. 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. 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. 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. 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. 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. 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
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "a5bd253ebbbe165bafa2b1c425be64806a01fbf4", "ref": "2550" }, "key": "NbM4reqaSY", "runId": 22953226953, "webhookDebug": { "action": "requested", "head_branch": "dnd-fixes", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2550, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:dnd-fixes", "oldPrDataHash": "iH2A5Ii6uD", "lookupKey": "TypeCellOS/BlockNote:dnd-fixes", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "2872072d5810da53d7e8827d5b2487e8e3dba366", "ref": "2550" } } }
🎭 Playwright Run Summary
38 passed (32.4s)
🎭 Playwright Run Summary
38 passed (46.6s)
🎭 Playwright Run Summary
1 flaky [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block 2 skipped 81 passed (1.3m)
🎭 Playwright Run Summary
12 skipped 72 passed (1.5m)
🎭 Playwright Run Summary
38 passed (59.7s)
🎭 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:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block 10 skipped 72 passed (2.2m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
5.29 MB
sha256:ef3f2bd3ee1314d42befd432fa5d13cbd4b5bf68c4c4d73a1374d772ca4177ca
blob-report-chromium-2 Expired
46.2 KB
sha256:cc69a70c565c2128181c45d944c9abf91d2625958325298c173f965c68b455df
blob-report-firefox-1 Expired
103 KB
sha256:79c406cde5b1ebca11df94b928621835bbd0db03ce9db805157a926465cffcf5
blob-report-firefox-2 Expired
47.3 KB
sha256:f1a7649357761e8aa217b66c2d0eb0f0e51d4748001ba03f644431d2b3749955
blob-report-webkit-1 Expired
5.6 MB
sha256:008d8679d21afa39807c416c9c805186aec4535a2bfeeb66b033ed4d239f8cc7
blob-report-webkit-2 Expired
47.1 KB
sha256:8a97ee51d6f02a100417363bd3eee847758c0c9faf5703a462cf8f45a134efd1
playwright-build Expired
26.1 MB
sha256:65929a1dc8f234d4036968daf8bf4e339234fa180cd8ec4c28316d8edfd08a8c
playwright-report-chromium-1
5.79 MB
sha256:fe732288fa24e7af4511515361e13261427b6053976deb634098af6a5ccd14f6
playwright-report-chromium-2
205 KB
sha256:77096577995246ffb5713586e9fe14e411626522a8c043dbdd37e9efb5e8572c
playwright-report-firefox-1
240 KB
sha256:7c7a7ac214d98026c05be3098eb31b07aaccfe41d7571789ad02ba9a62c88da7
playwright-report-firefox-2
205 KB
sha256:184f58438f0f7afdb3cd5333685ea8eb9f6cc244b60a810e10532aada675d776
playwright-report-merged
11.3 MB
sha256:2b4804da2f1b8534f7be6de29ae99a409410e631cceccd9ba908ceb43cc96de1
playwright-report-webkit-1
6.09 MB
sha256:b15ea3e532eb1f127c9f2864518a679f48d2592a98ea27be0d3c492c6aa470da
playwright-report-webkit-2
205 KB
sha256:dc16c1e0424f5e83d7c2664cf932184afd41ef8df4667bea31b0a9664ec937eb
relative-ci-artifacts-editor
46.8 KB
sha256:a181a6d75ad9aeac0ae839af5ae1ad6c74de95ce2ebb29d6a5bceed8f94839f2