fix: backslash newlines when copying from a code block #7639
build.yml
on: pull_request
Playwright Build
1m 19s
Build
4m 21s
Matrix: playwright
Merge Playwright Reports
47s
Annotations
2 errors, 1 warning, and 7 notices
|
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L19
1) [chromium] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks
Error: expect(Buffer).toMatchSnapshot(expected)
8041 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/vanilla-interactivity-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-chromium/vanilla-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-chromium/vanilla-interactivity-diff.png
17 |
18 | await compareDocToSnapshot(page, "vanillaInteractivity");
> 19 | expect(await page.screenshot()).toMatchSnapshot(
| ^
20 | "vanilla-interactivity.png",
21 | );
22 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:19:37
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:320:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block with children:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:320:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block with children
Error: expect(string).toMatchSnapshot(expected)
@@ -41,11 +41,11 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragraph"
}
]
}
]
}
@@ -54,11 +54,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -70,17 +70,44 @@
{
"type": "text",
"text": "Paragraph"
}
]
+ },
+ {
+ "type": "blockGroup",
+ "content": [
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "3"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Paragraph"
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "5"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlockWithChildren-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-ce0ec-allower-block-with-children-webkit/deleteShallowerBlockWithChildren-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:336: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 (37.8s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (46.6s)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks
2 skipped
89 passed (1.4m)
|
|
🎭 Playwright Run Summary
43 passed (1.1m)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "9352e24b9da56bab39e413b719116c482390f151",
"ref": "2709",
"headBranch": "feat/fix-codeblock-copy"
},
"key": "KsvfwGl5yp",
"runId": 25383860477,
"webhookDebug": {
"action": "requested",
"head_branch": "feat/fix-codeblock-copy",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2709,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:feat/fix-codeblock-copy",
"oldPrDataHash": "1YEz4P0vQB",
"lookupKey": "TypeCellOS/BlockNote:feat/fix-codeblock-copy",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "9352e24b9da56bab39e413b719116c482390f151",
"ref": "2709",
"headBranch": "feat/fix-codeblock-copy"
}
},
"currentCursor": null
}
|
|
🎭 Playwright Run Summary
15 skipped
77 passed (1.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:320:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block with children
12 skipped
79 passed (2.7m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
285 KB |
sha256:adeacf32bcbb94c60dfeff977fdb10d9670dd2d702ac97e85bdfdde6cbc3df43
|
|
|
blob-report-chromium-2
Expired
|
53 KB |
sha256:68da3f331dfcb994987e4a07aeb50999aa08e0a6cd5cad3d8868125610d5ee0f
|
|
|
blob-report-firefox-1
Expired
|
114 KB |
sha256:df06188c6ca2bc72c144711783d0939e76ef8b212b9e29585fe0313e63009d1c
|
|
|
blob-report-firefox-2
Expired
|
52.5 KB |
sha256:80ba8570a4e2b30bbeffe2784b7882a19b9d7cc231c4c4099f6f80e3b1e53ec4
|
|
|
blob-report-webkit-1
Expired
|
5.32 MB |
sha256:b3c541c1a1121241587282ecfb9bb1407d81234d4e3e274d81794d6b53bb3960
|
|
|
blob-report-webkit-2
Expired
|
53.4 KB |
sha256:c22ee3ddcae24be09ba529fec566e3c665505d2d23e8b3006576e59c593dfe31
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:b5cb31e636572b13195129571d6328be58719a556ad7c36d710f534b6e9b367b
|
|
|
playwright-report-chromium-1
Expired
|
802 KB |
sha256:88d3cf237e0e7220c41f88e202f7d9c1fd2c51944fce4d9dc52596976e7604e4
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:d648549aba5e51f03c9a733da873d6aa5237660dbadf67d5917ccb03678b94f4
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:08e57dfbbf0d500f609d9ab5deb2df6d74369fb8819708bc8327b03322ecc5af
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:43994c895f6c84a38536d1496466dee3920ed67eae621e1961a8e6761e3f09f3
|
|
|
playwright-report-merged
Expired
|
6.03 MB |
sha256:1c88811caf688b97e5fb4ccb2f1c66055a28c6ca4dc05f329b2114c3ec205461
|
|
|
playwright-report-webkit-1
Expired
|
5.81 MB |
sha256:94e4dde9cd1be3a7947560a633f1a068d3e11a02ed0e4f906abd180d273abe9f
|
|
|
playwright-report-webkit-2
Expired
|
211 KB |
sha256:862add4e5a244783166ee60dc42f25b75f74a2124b3f831c4f59276a6f5c0c82
|
|
|
relative-ci-artifacts-editor
|
48.2 KB |
sha256:a647d97cc727b11b21c9738442cd7fe6e6927eef0b120917d5fb8db57ff19324
|
|