Skip to content

fix: Backspace bug when current block is empty and previous block's last child is empty #7176

fix: Backspace bug when current block is empty and previous block's last child is empty

fix: Backspace bug when current block is empty and previous block's last child is empty #7176

Triggered via pull request April 2, 2026 15:23
Status Success
Total duration 6m 52s
Artifacts 15

build.yml

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

Annotations

1 error, 9 warnings, and 7 notices
[webkit] › src/end-to-end/multicolumn/multicolumn.test.ts:28:7 › Check Multi-Column Behaviour › Check Delete before column with single block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/multicolumn/multicolumn.test.ts:28:7 › Check Multi-Column Behaviour › Check Delete before column with single block Error: expect(string).toMatchSnapshot(expected) @@ -54,33 +54,18 @@ }, "content": [ { "type": "text", "text": "This paragraph is in a column!" - } - ] - } - ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "5" - }, - "content": [ - { - "type": "heading", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left", - "level": 1, - "isToggleable": false - }, - "content": [ + }, { "type": "text", + "marks": [ + { + "type": "bold" + } + ], "text": "So is this heading!" } ] } ] Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/multicolumn/multicolumn.test.ts-snapshots/deleteBeforeColumnWithSingleBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/multicolumn-multicolumn-Ch-681b4-re-column-with-single-block-webkit/deleteBeforeColumnWithSingleBlock-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/multicolumn/multicolumn.test.ts:35:5
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, 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 (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 - 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 - 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 - 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/
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "cdf8729cbcf08f95f902650580b59e5b40389448", "ref": "2610" }, "key": "meF1vtYE4Y", "runId": 23907980831, "webhookDebug": { "action": "requested", "head_branch": "backspace-empty-nested-block-fix", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2610, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:backspace-empty-nested-block-fix", "oldPrDataHash": "Mf4Zoh1ocL", "lookupKey": "TypeCellOS/BlockNote:backspace-empty-nested-block-fix", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "cdf8729cbcf08f95f902650580b59e5b40389448", "ref": "2610" } } }
🎭 Playwright Run Summary
40 passed (33.8s)
🎭 Playwright Run Summary
40 passed (45.5s)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/multicolumn/multicolumn.test.ts:28:7 › Check Multi-Column Behaviour › Check Delete before column with single block 39 passed (1.1m)
🎭 Playwright Run Summary
2 skipped 82 passed (1.1m)
🎭 Playwright Run Summary
12 skipped 72 passed (1.5m)
🎭 Playwright Run Summary
10 skipped 74 passed (1.9m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
114 KB
sha256:59123b4180f1aaaf72ed6d13d09fcc0a52ef277c5333e43b7f07da4475524824
blob-report-chromium-2 Expired
48.7 KB
sha256:c272fc88173d95c2a06649ac0c2584902dcc23e54079585445b03c251caa73da
blob-report-firefox-1 Expired
103 KB
sha256:add87f1e5a0c5b2ee2281431e076750cde7ef2dc9874eb5871aba87fe7d8e30c
blob-report-firefox-2 Expired
49.6 KB
sha256:33df60f2838a51d6812a5de0dbc74342c640aad29b815433b2fbb01578ad9b33
blob-report-webkit-1 Expired
109 KB
sha256:3e2548c1c9f4d2ed86422fbf21ebaaa2901f8ffa07594105e485d43c03250be0
blob-report-webkit-2 Expired
911 KB
sha256:dbde9aea7efe6453367ec26d03b4e18590a973f5279e467700b1073c58941196
playwright-build Expired
26.3 MB
sha256:66c14a256115d628f259dad8e7a95e908ef55f516be7b407a4fdb8123218deb0
playwright-report-chromium-1 Expired
247 KB
sha256:9ac513e2e15b1caf4df68d72f848a7e6b6448c4b8a0f32c7e803cc9f068f4a67
playwright-report-chromium-2 Expired
207 KB
sha256:8eb526e4d6542c2cc76f9bdb025da72d767b1c4a8223259e9792946c658dd641
playwright-report-firefox-1 Expired
240 KB
sha256:f37400acdf20d9a1d355f158eaaea21cc5308d16a5f6dc1ed443d0093e6dd541
playwright-report-firefox-2 Expired
207 KB
sha256:745ea9ffb419b7151c865fa06f91bfb56aae21aab364c0af639e51b6e584a386
playwright-report-merged Expired
1.52 MB
sha256:3c8f417fa367906b0d35e563b5c7ae2096761d6eb26c10de6c17635cbef5ce3d
playwright-report-webkit-1 Expired
244 KB
sha256:5a2deec7520acf726a1fa2879d95a54e120ddb88e82e006a40e195f824df05f1
playwright-report-webkit-2 Expired
1.42 MB
sha256:c990ff5a93293c12758417fa83e99f31be9e056c16f235f37e3e637f3177aae8
relative-ci-artifacts-editor
47.2 KB
sha256:35387bbd8987657de502ca127499ac786e40bca5aefcfc67a91900b476cef9c1