fix: Parse new lines in text/plain as line breaks (BLO-1170)
#7663
build.yml
on: pull_request
Playwright Build
2m 11s
Build
4m 57s
Matrix: playwright
Merge Playwright Reports
47s
Annotations
1 error, 1 warning, and 7 notices
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:133:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:133:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks
Error: expect(string).toMatchSnapshot(expected)
@@ -27,10 +27,26 @@
]
},
{
"type": "blockContainer",
"attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ }
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
"id": "2"
},
"content": [
{
"type": "paragraph",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-494d0-ace-preserves-nested-blocks-webkit/backspacePreservesNestedBlocks-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:150: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
1 skipped
42 passed (46.3s)
|
|
🎭 Playwright Run Summary
43 passed (36.5s)
|
|
🎭 Playwright Run Summary
43 passed (1.1m)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "8ffb45130bd762688b8ac1d7ca653b939982e6b0",
"ref": "2712",
"headBranch": "markdown-new-line-breaks"
},
"key": "ChTPUaYYSD",
"runId": 25425676406,
"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": null
}
|
|
🎭 Playwright Run Summary
2 skipped
90 passed (1.3m)
|
|
🎭 Playwright Run Summary
15 skipped
77 passed (1.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:133:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks
12 skipped
79 passed (2.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
127 KB |
sha256:7f5095a4b7e0e8ddc5da4df86b50d17aa470aa2b1c10e59e4e39e24e4261e1b9
|
|
|
blob-report-chromium-2
Expired
|
53 KB |
sha256:c31c6ea6ba54c73af4164dac170094670a82eddedb67657c946d8d033a6a32b5
|
|
|
blob-report-firefox-1
Expired
|
115 KB |
sha256:3e0e44f4033b64f99beb2807b48a8ed6bd08b5db57d9dde20b0283ddd6a9df88
|
|
|
blob-report-firefox-2
Expired
|
52.6 KB |
sha256:6608c1c76d430aaccbd822531a23dfc6484e986f50618f312f163863facadf06
|
|
|
blob-report-webkit-1
Expired
|
5.29 MB |
sha256:e12ec990ec98485eda4c8dbcfed98df2f5c101ed0c3df30269f9abb981e365a3
|
|
|
blob-report-webkit-2
Expired
|
53.3 KB |
sha256:6492480241d273a5b7c0b10f469a69a551acf998312e3c8be11f9be59f970d0e
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:d5d0b4014c64f74d3b294908e03edcdd2a5a0a1d1473452fc41ebe1d8904c18d
|
|
|
playwright-report-chromium-1
Expired
|
260 KB |
sha256:ef2b5d8b7e96953acf699721ba27a589376157c786346db309898cd9361a1cf8
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:71c691d563e51728e5c8729fe138828bb4dc7d1464c00ebdaf79f3e363083e65
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:551f2b9fa4f722df437f3b1a11921bd01b138ebdf445061c224af98895c8ca37
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:e4df958a50c9f5e24a710b13f0cffbf74784cf6abdb14e07a0f1409bbb7fb69b
|
|
|
playwright-report-merged
Expired
|
5.86 MB |
sha256:0dfb4fdfb1e87cd4efec128ffc3a99380b5d15ff005e0adfd4f515f268562078
|
|
|
playwright-report-webkit-1
Expired
|
5.79 MB |
sha256:b8d9419c057dbfe7d2d325129ff2285891e40d74c23e2939ea77a5b11b3bbe46
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:7af83ba118faacdec9e41dd7e772ab94773a7c12b915e4a1a1f1084ec83e5d72
|
|
|
relative-ci-artifacts-editor
|
44.7 KB |
sha256:bcb3d5c526aea8638008d589b410d14ae8f282341b11dd75c0caca205b95a638
|
|