Skip to content

fix: Parse new lines in text/plain as line breaks (BLO-1170) #7664

fix: Parse new lines in text/plain as line breaks (BLO-1170)

fix: Parse new lines in text/plain as line breaks (BLO-1170) #7664

Triggered via pull request May 6, 2026 08:54
Status Success
Total duration 6m 18s
Artifacts 15

build.yml

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

Annotations

1 error, 1 warning, and 7 notices
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:39:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:39:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks Error: expect(string).toMatchSnapshot(expected) @@ -16,47 +16,38 @@ "backgroundColor": "default", "textColor": "default", "textAlignment": "left", "level": 1, "isToggleable": false - }, - "content": [ - { - "type": "text", - "marks": [ - { - "type": "italic" - } - ], - "text": "H" - } - ] + } } ] }, { "type": "blockContainer", "attrs": { "id": "2" }, "content": [ { - "type": "paragraph", + "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", - "textAlignment": "left" + "textAlignment": "left", + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", "marks": [ { "type": "italic" } ], - "text": "eading" + "text": "Heading" } ] } ] }, Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesMarks-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-bc50b-Check-Enter-preserves-marks-webkit/enterPreservesMarks-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:57: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)
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "8ffb45130bd762688b8ac1d7ca653b939982e6b0", "ref": "2712", "headBranch": "markdown-new-line-breaks" }, "key": "IBlUiTTFkh", "runId": 25425752774, "webhookDebug": { "action": "requested", "head_branch": "markdown-new-line-breaks", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2712, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:markdown-new-line-breaks", "oldPrDataHash": "wHbucEoqS1", "lookupKey": "TypeCellOS/BlockNote:markdown-new-line-breaks", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "8ffb45130bd762688b8ac1d7ca653b939982e6b0", "ref": "2712", "headBranch": "markdown-new-line-breaks" } }, "currentCursor": { "sha": "8ffb45130bd762688b8ac1d7ca653b939982e6b0", "timestamp": 25425676406 } }
🎭 Playwright Run Summary
1 skipped 42 passed (47.3s)
🎭 Playwright Run Summary
43 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 90 passed (1.2m)
🎭 Playwright Run Summary
15 skipped 77 passed (1.6m)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:39:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks 12 skipped 79 passed (1.9m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
127 KB
sha256:b62e8c24017dc671307d9607d57e4ec1046266874c580b004d7057e4a41a2887
blob-report-chromium-2 Expired
53.1 KB
sha256:5a46f2d8d69d99ecb39bda6c674066ac740809222a3ce4d00ccde86985cd26d8
blob-report-firefox-1 Expired
114 KB
sha256:39347a668012ab016437e184de3c4f3110b2286d770c5bef21fbc7ec078b5b1c
blob-report-firefox-2 Expired
52.8 KB
sha256:833c8903dd2302946593365392d6d6241bb3b62f4556254656d68a5e71ac2266
blob-report-webkit-1 Expired
5.34 MB
sha256:e8219d07ff67be907fadc3b1ccb695b3b9efaee5a27805cb7c43de373f86a876
blob-report-webkit-2 Expired
53.2 KB
sha256:671cc67b3ddcecb4657edbca165b1659e911d2d980d6d5cdd8be4cc9278e93d2
playwright-build Expired
21.2 MB
sha256:a4810f70094203bad056799dd11755488b780e8ccc9d923af6b485a1476ec0dc
playwright-report-chromium-1 Expired
260 KB
sha256:dbb9e1b96dfce3f9e186ab3b738aa5d24ad2d5388521472b8eb595fca89d7e42
playwright-report-chromium-2 Expired
210 KB
sha256:6a2515cfaa1752c2c8359228177e1fa71ce44484f404b09a5959cc3c89594c80
playwright-report-firefox-1 Expired
250 KB
sha256:d52ebfe678e068a18b199cf54709a437893b24e5efb55eadfb34350ad52e7f32
playwright-report-firefox-2 Expired
209 KB
sha256:b960424f69647d816dd2314f7cb48f8f126031bc9d6551b738488a7da1cc12f3
playwright-report-merged Expired
5.92 MB
sha256:9b5d94c3a812d42bfa9b5469d2ec8c758340a409a352e03db1c5562e6d105d92
playwright-report-webkit-1 Expired
5.84 MB
sha256:0ed6884536bfb71058577b1dda4b019c8a14ddbd8be59aa3abe9deeb3ee7f1bd
playwright-report-webkit-2 Expired
210 KB
sha256:04ababfdc13eecbc91f9ff6658c231aa94250725768ee66102c65ee1d1a34e60
relative-ci-artifacts-editor
44.7 KB
sha256:f3afe3837f11b165fbb5474f566424b031546fee0f82eae45dd4a0274827f039