fix: Parse new lines in text/plain as line breaks (BLO-1170)
#7670
build.yml
on: pull_request
Playwright Build
2m 38s
Build
5m 7s
Matrix: playwright
Merge Playwright Reports
44s
Annotations
1 error, 1 warning, and 7 notices
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:201:7 › Check Copy/Paste From Non-Editable Block › Should be able to copy/paste text from a non-editable block:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:201:7 › Check Copy/Paste From Non-Editable Block › Should be able to copy/paste text from a non-editable block
Error: expect(string).toMatchSnapshot(expected)
@@ -38,40 +38,24 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
- "type": "paragraph",
+ "type": "image",
"attrs": {
+ "textAlignment": "left",
"backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "marks": [
- {
- "type": "textColor",
- "attrs": {
- "stringValue": "rgb(63, 63, 63)"
- }
- },
- {
- "type": "backgroundColor",
- "attrs": {
- "stringValue": "rgb(255, 255, 255)"
- }
- }
- ],
- "text": "This is "
- }
- ]
+ "name": "800x540.png",
+ "url": "https://placehold.co/800x540.png",
+ "caption": "",
+ "showPreview": true,
+ "previewWidth": 573
+ }
}
]
},
{
"type": "blockContainer",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/nonEditableBlock-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--1ef64-t-from-a-non-editable-block-chromium/nonEditableBlock-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/copypaste/copypaste.test.ts:229: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.2s)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "570a6bf5c9ec5db410bbab229e2cf7ac8104f8e9",
"ref": "2712",
"headBranch": "markdown-new-line-breaks"
},
"key": "cDnSFFdJ7k",
"runId": 25443106664,
"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": "570a6bf5c9ec5db410bbab229e2cf7ac8104f8e9",
"ref": "2712",
"headBranch": "markdown-new-line-breaks"
}
},
"currentCursor": {
"sha": "8ffb45130bd762688b8ac1d7ca653b939982e6b0",
"timestamp": 25425752774
}
}
|
|
🎭 Playwright Run Summary
43 passed (1.1m)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (46.1s)
|
|
🎭 Playwright Run Summary
16 skipped
77 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:201:7 › Check Copy/Paste From Non-Editable Block › Should be able to copy/paste text from a non-editable block
2 skipped
90 passed (1.4m)
|
|
🎭 Playwright Run Summary
12 skipped
81 passed (2.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
2.09 MB |
sha256:0cf94811de237907cb738f0eed88a04ffb2913a4c1841a530bf83454aa410312
|
|
|
blob-report-chromium-2
Expired
|
52.9 KB |
sha256:8ad2f632d717bc97ed27793fb18869f966dde5b7857fa0632f928c9e8d5d4908
|
|
|
blob-report-firefox-1
Expired
|
115 KB |
sha256:26a392a522bb93cc92d00c34afd988bbc39eefe661796d2ceda137e43f4d957d
|
|
|
blob-report-firefox-2
Expired
|
52.5 KB |
sha256:91d014c929b5ee9b1edd74cb07d44021308e9bf34345d1d65a1099ca35320bb2
|
|
|
blob-report-webkit-1
Expired
|
122 KB |
sha256:26f3636e6498d1c56ed4c669e0399ea87810b28cc643ec819f34ba892a126c3c
|
|
|
blob-report-webkit-2
Expired
|
53.5 KB |
sha256:dacb18d8370c7c4bac42e6c75739b8a969acc8f7491c009dce7953cf8c425f7e
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:673ff8cdfce6a4390c8aa825835e53c0500486f2b423028805f09ef38fe08688
|
|
|
playwright-report-chromium-1
|
2.59 MB |
sha256:55f6b352ca7b90c93bd1a47932ba719f4900afa9096acc9dcac63577a88c8f08
|
|
|
playwright-report-chromium-2
|
210 KB |
sha256:73291f6a119c7a22bac90832c793e6d0331676509e3180de236bf8de7e2396a4
|
|
|
playwright-report-firefox-1
|
250 KB |
sha256:df3879f49a111bc2f9db6603e3f13a6881d14e56368e314886c422f90aa1f9c6
|
|
|
playwright-report-firefox-2
|
209 KB |
sha256:f052f4491ab612ca78c622d400c6fb57226e4872621344101198065554e20e89
|
|
|
playwright-report-merged
|
2.65 MB |
sha256:3de6412f07230fe84a1a0ef4711037282d6abd8a40c5c9cf6eb895c62add4383
|
|
|
playwright-report-webkit-1
|
257 KB |
sha256:c39c346ac86a40b6bb97ee08e80f23431da2bfbdf0710a36715d9de164a95f4f
|
|
|
playwright-report-webkit-2
|
210 KB |
sha256:a10f1362caf9cfbaad5ac284d02f0ecd6606247a60572e42c0cea8a8b5a3f69e
|
|
|
relative-ci-artifacts-editor
|
44.7 KB |
sha256:fa9eaae1d141c34e3d95804e7766c99682f6df4b7e741a11b75e34bb237f7456
|
|