fix: Pasting plain text from VSCode (BLO-366) #7659
build.yml
on: pull_request
Playwright Build
1m 25s
Build
3m 35s
Matrix: playwright
Merge Playwright Reports
52s
Annotations
3 errors, 1 warning, and 7 notices
|
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L33
1) [chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
9468 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/react-interactivity-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium-retry1/react-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium-retry1/react-interactivity-diff.png
31 |
32 | await compareDocToSnapshot(page, "reactInteractivity");
> 33 | expect(await page.screenshot()).toMatchSnapshot("react-interactivity.png");
| ^
34 | });
35 | });
36 |
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:33:37
|
|
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L33
1) [chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Error: expect(Buffer).toMatchSnapshot(expected)
9468 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/react-interactivity-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium/react-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium/react-interactivity-diff.png
31 |
32 | await compareDocToSnapshot(page, "reactInteractivity");
> 33 | expect(await page.screenshot()).toMatchSnapshot("react-interactivity.png");
| ^
34 | });
35 | });
36 |
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:33:37
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:97:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:97:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
Error: expect(string).toMatchSnapshot(expected)
@@ -9,15 +9,17 @@
"attrs": {
"id": "0"
},
"content": [
{
- "type": "paragraph",
+ "type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
- "textAlignment": "left"
+ "textAlignment": "left",
+ "level": 1,
+ "isToggleable": false
},
"content": [
{
"type": "text",
"text": "Heading"
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspaceStartOfBlock-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-54c1c-ace-at-the-start-of-a-block-webkit/backspaceStartOfBlock-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:105: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.7s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (42.2s)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "4be8c85b6459899a2f9b48a2b8565ab0cd1a102c",
"ref": "2713",
"headBranch": "vscode-plain-text-paste"
},
"key": "YOYnAUT0gI",
"runId": 25424581856,
"webhookDebug": {
"action": "requested",
"head_branch": "vscode-plain-text-paste",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2713,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:vscode-plain-text-paste",
"oldPrDataHash": "trYHWhVDvT",
"lookupKey": "TypeCellOS/BlockNote:vscode-plain-text-paste",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "4be8c85b6459899a2f9b48a2b8565ab0cd1a102c",
"ref": "2713",
"headBranch": "vscode-plain-text-paste"
}
},
"currentCursor": {
"sha": "4be8c85b6459899a2f9b48a2b8565ab0cd1a102c",
"timestamp": 25424504812
}
}
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
2 skipped
89 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:97:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
12 skipped
79 passed (2.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
404 KB |
sha256:c6d22402ca7bb2e490ec7a6ca58c9809e8096840ea532def506aae0e212f7375
|
|
|
blob-report-chromium-2
Expired
|
52.7 KB |
sha256:4e1cb062d0f684e74ec06fc1cf9c960d8cf337a707e606e5bd2331a5a3a1e46c
|
|
|
blob-report-firefox-1
Expired
|
114 KB |
sha256:cce08ba46412c27c3b304aaf3cee33217fa7f65cd8d4647eaa62ad7d21bef9db
|
|
|
blob-report-firefox-2
Expired
|
52.2 KB |
sha256:4262a491946d4ef9b481fe42986d8af229d585a2e6f8ee8b7828099e09ecfe07
|
|
|
blob-report-webkit-1
Expired
|
5.29 MB |
sha256:7497095018e76bc840870cf7833252105dbde6a68549bc9e3bbe871fd3616293
|
|
|
blob-report-webkit-2
Expired
|
53.4 KB |
sha256:d625df17cf803a71fd69599b475b6831bb2480b27e5243ea8d982fb6c143884e
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:539eee75ca2f76410ee9ffb415e2f7a042c68e01057928782112d5c77f231a50
|
|
|
playwright-report-chromium-1
Expired
|
851 KB |
sha256:5a832fa71bce3c0912372891a3339bdc96a1a586e531b19a68f2cae755c7dc94
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:35d8e16a4a90b65465541050c8fdcca67ea7f12710ca50029b7e43456aadf2c9
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:6ead638e3ea9f14bbd4c0c1de61a64a2bcf19bdc290c1b42079d09678eed9c6d
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:6f4b9498a76cfdd7ca42fcb4dfb1a87c7fcced0640b844a576854936334838b3
|
|
|
playwright-report-merged
Expired
|
6.06 MB |
sha256:c0b90239c626e1b0de501197e95ef9e1540e3d05246624dc09345fe2ade2c4db
|
|
|
playwright-report-webkit-1
Expired
|
5.79 MB |
sha256:e4d15eb01e4680731d7aebda1002042aa5e04836815824d24d3347bc365aceab
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:13b42a3f8e2d30db7cd6c09629bce93b81f57931ac8dd98b54a7f78d1b1242f2
|
|
|
relative-ci-artifacts-editor
|
44.7 KB |
sha256:5a404ffca1e8c04bf15e53923a00a4063948e46d9b778c847e95065cff44ffe2
|
|