fix: backslash newlines when copying from a code block #7647
build.yml
on: pull_request
Playwright Build
58s
Build
2m 48s
Matrix: playwright
Merge Playwright Reports
1m 7s
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/
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "eb3498b6aa3e8f026383b16fb8c325126bc35887",
"ref": "2709",
"headBranch": "feat/fix-codeblock-copy"
},
"key": "H5CVbhexWy",
"runId": 25385690327,
"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": "eb3498b6aa3e8f026383b16fb8c325126bc35887",
"ref": "2709",
"headBranch": "feat/fix-codeblock-copy"
}
},
"currentCursor": {
"sha": "eb3498b6aa3e8f026383b16fb8c325126bc35887",
"timestamp": 25385402807
}
}
|
|
🎭 Playwright Run Summary
43 passed (38.2s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (47.2s)
|
|
🎭 Playwright Run Summary
43 passed (1.1m)
|
|
🎭 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:a73250bab2ea882d490a6fc28d179c0bd7a9813812fd7cbce72e4fc0c6336368
|
|
|
blob-report-chromium-2
Expired
|
52.9 KB |
sha256:bd2d2547222ecf3b2fc0dd0c534a5672ab6a7c609376150769ee051d46b70e71
|
|
|
blob-report-firefox-1
Expired
|
114 KB |
sha256:da7fc86ef9b6c8d261ef88277e3f1b438379c19811149bcb8e41dc7bb9650b5a
|
|
|
blob-report-firefox-2
Expired
|
52.8 KB |
sha256:b628b8895826bab362a4981891d5069e91e6d12833f7a04e78ec5018fc6b491d
|
|
|
blob-report-webkit-1
Expired
|
5.31 MB |
sha256:561a01efad82cfdbc78107f36cb72182f0fc303ceace047b3613066eb11364df
|
|
|
blob-report-webkit-2
Expired
|
53.6 KB |
sha256:2d485bcce88a9e8ace3c6379fa6311d7a4a2f269aa890d10ef18ffc62cc45a08
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:951e2ad5ca930cd9265c690625a4c9a8d1ab7763c25b8715724c2fd465f87048
|
|
|
playwright-report-chromium-1
|
260 KB |
sha256:1cea854a1d1aeebb1bb62ab04e530b3a0ea35e2eb89009ef916b53da35032537
|
|
|
playwright-report-chromium-2
|
210 KB |
sha256:542891399c4c12bfdb10c667d0dac92e04c42211032128dd98a75e0f23c8a61e
|
|
|
playwright-report-firefox-1
|
250 KB |
sha256:ed25c642a04013704c70119bb05c6506265fd26b28f06acf7e6e23778869fc0c
|
|
|
playwright-report-firefox-2
|
209 KB |
sha256:b88a6aab5fe7980439fa5fd9a86fbf51f3a889098f6fec10b7454f9d416e9d07
|
|
|
playwright-report-merged
|
5.89 MB |
sha256:981cc7b15548acdcf71fc9091983304adb2f7e499686eb26187bd850e95145e7
|
|
|
playwright-report-webkit-1
|
5.81 MB |
sha256:76c47968796d498eae3417dedd582db2cb872fd2790f78462d0cd751b0d24f6e
|
|
|
playwright-report-webkit-2
|
210 KB |
sha256:a1eaafeaa221b496652337268b6e2bfa252bae064e47f697f80758152ca72f18
|
|
|
relative-ci-artifacts-editor
|
48.2 KB |
sha256:03c7889b0a8528496573d928c5295edb6b31e0bc4e22e7a21fa7f370e9c344c7
|
|