Skip to content

fix(core): unmount editors in transformPasted tests to prevent unhand… #7813

fix(core): unmount editors in transformPasted tests to prevent unhand…

fix(core): unmount editors in transformPasted tests to prevent unhand… #7813

Triggered via push May 13, 2026 10:04
Status Failure
Total duration 7m 17s
Artifacts 15

build.yml

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

Annotations

4 errors, 1 warning, and 7 notices
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -41,19 +41,41 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragrap" } ] } ] } ] } ] + }, + { + "type": "blockContainer", + "attrs": { + "id": "2" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Paragraph" + } + ] + } + ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit-retry2/deleteShallowerBlock-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:319:5
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -41,19 +41,41 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragrah" } ] } ] } ] } ] + }, + { + "type": "blockContainer", + "attrs": { + "id": "2" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Paragraph" + } + ] + } + ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit-retry1/deleteShallowerBlock-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:319:5
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block Error: expect(string).toMatchSnapshot(expected) @@ -41,19 +41,41 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragrap" } ] } ] } ] } ] + }, + { + "type": "blockContainer", + "attrs": { + "id": "2" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Paragraph" + } + ] + } + ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit/deleteShallowerBlock-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:319:5
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/
🎭 Playwright Run Summary
43 passed (36.5s)
🎭 Playwright Run Summary
43 passed (1.0m)
🎭 Playwright Run Summary
1 skipped 42 passed (45.9s)
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "e62880b2147e1203d87b7a758e3465eb10880cab", "ref": "main", "headBranch": null }, "key": "0uazm5KvYj", "runId": 25792294999, "webhookDebug": { "action": "requested", "head_branch": "main", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": false, "prNumber": null, "prNumberType": "object", "isNewPullRequest": false, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:main", "oldPrDataHash": "m72SGUJfNr", "lookupKey": "m72SGUJfNr", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "e62880b2147e1203d87b7a758e3465eb10880cab", "ref": "main", "headBranch": null } }, "currentCursor": { "sha": "2e2d22523e3e188cd7dd1cde209e53b20bd70f96", "timestamp": 25789084356 }, "pkgPrNewVersion": "0.0.71" }
🎭 Playwright Run Summary
16 skipped 78 passed (1.6m)
🎭 Playwright Run Summary
2 skipped 92 passed (1.3m)
🎭 Playwright Run Summary
1 failed [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block 12 skipped 12 did not run 69 passed (2.8m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
127 KB
sha256:9008ec637a20779195c6aaa91f61c7eec4b8f3d6281987471717e672db6188a4
blob-report-chromium-2 Expired
52.5 KB
sha256:a080f0d4300aa1bce7a601f0c29dfde49eeb7b9bcdaa9ac46e17be562b8c9a25
blob-report-firefox-1 Expired
113 KB
sha256:6ae917fbbc857a2016b2071cd1a795f9d495ab9942f8134dbfea25bcc54a4227
blob-report-firefox-2 Expired
52 KB
sha256:53d1b8b55a0f427cea6c5e62b6aa1ca20f70562c09503afd842e4bad1967e550
blob-report-webkit-1 Expired
3.96 MB
sha256:d3404939c560cebb81ea6fa84c2859db248265869098ecf42fbced70bd702f5b
blob-report-webkit-2 Expired
53.1 KB
sha256:3d59b92b81345f2d75118ac4e0ab8d18cc324611e246db99dc001fa28292e841
playwright-build Expired
21.2 MB
sha256:0f3c81e248ff6ff95b94bdc6208350d43857377b4cac73da383204b0d23fecaa
playwright-report-chromium-1 Expired
260 KB
sha256:02598be4aa1e29fc70647cbb51d53279b0ebf0a314665f96d05301fdd5b7fc73
playwright-report-chromium-2 Expired
210 KB
sha256:2b1e7c2df9a95a4b4114804704d0bd2af318b5920dff08e86f2038880e86130c
playwright-report-firefox-1 Expired
250 KB
sha256:eaa35a92a3af8ec3cc410b4941e0ca38a99664518433a8100ba01101735fd3d7
playwright-report-firefox-2 Expired
209 KB
sha256:e53209a4ced7cd5d6d1c7ba56ca7640a2ce65d30000df9b62997c4336deed7dd
playwright-report-merged Expired
4.5 MB
sha256:09265416d5babde2b6b28aff8de6422427a8b73b94672968a3c821c145e19787
playwright-report-webkit-1 Expired
4.44 MB
sha256:4392d0dfe4aa465e5a7cafa4a75af674b0e4f3422f7e9c1dda0a749d9d91746e
playwright-report-webkit-2 Expired
210 KB
sha256:db412d20ac0ceb829b3e2b62d21a309a5e4476690889cf571216787e97d4dab4
relative-ci-artifacts-editor
44.8 KB
sha256:e7a1cb3caabfc5673cc2d02a60c785c1f39d2776aaa7b2a527c2c1e165c6c7d3