feat: Trailing block extension rewrite #7759
build.yml
on: pull_request
Playwright Build
1m 48s
Build
3m 58s
Matrix: playwright
Merge Playwright Reports
48s
Annotations
9 errors, 1 warning, and 7 notices
|
Playwright Tests - chromium (2/2)
Process completed with exit code 1.
|
|
[chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1655px, received 1280px by 1685px.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-equality-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png", {
| ^
38 | // Allowance for variations in the image caption text. The placehold.co
39 | // URL renders differently (e.g., '×' vs 'x' character) between runs.
40 | maxDiffPixels: 200,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
Playwright Tests - firefox (2/2)
Process completed with exit code 1.
|
|
[firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1641px, received 1280px by 1671px.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-equality-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png", {
| ^
38 | // Allowance for variations in the image caption text. The placehold.co
39 | // URL renders differently (e.g., '×' vs 'x' character) between runs.
40 | maxDiffPixels: 200,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
Playwright Tests - webkit (2/2)
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 1280px by 1631px, received 1280px by 1661px.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-equality-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png", {
| ^
38 | // Allowance for variations in the image caption text. The placehold.co
39 | // URL renders differently (e.g., '×' vs 'x' character) between runs.
40 | maxDiffPixels: 200,
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
Error: expect(string).toMatchSnapshot(expected)
@@ -41,19 +41,41 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragrap"
}
]
}
]
}
]
}
]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "2"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Paragraph"
+ }
+ ]
+ }
+ ]
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit/deleteShallowerBlock-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:319:5
|
|
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image:
tests/src/end-to-end/images/images.test.ts#L95
1) [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image
Error: expect(Buffer).toMatchSnapshot(expected)
1232 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-diff.png
93 | await page.waitForTimeout(500);
94 | await compareDocToSnapshot(page, "resizeImage");
> 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png");
| ^
96 | });
97 | test("Should be able to delete image with backspace", async ({ page }) => {
98 | await page.goto(BASE_URL);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
|
|
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": "94ff28795e2e6f735ae8edeb4c685790a8be5085",
"ref": "2733",
"headBranch": "trailing-block-update"
},
"key": "BJPaWbrjGk",
"runId": 25679599020,
"webhookDebug": {
"action": "requested",
"head_branch": "trailing-block-update",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2733,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:trailing-block-update",
"oldPrDataHash": "IXicH67kMJ",
"lookupKey": "TypeCellOS/BlockNote:trailing-block-update",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "94ff28795e2e6f735ae8edeb4c685790a8be5085",
"ref": "2733",
"headBranch": "trailing-block-update"
}
},
"currentCursor": {
"sha": "7e8b339d7730b4542ebcadf0f6db2238657f180c",
"timestamp": 25673061381
},
"pkgPrNewVersion": "0.0.71"
}
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
42 passed (36.7s)
|
|
🎭 Playwright Run Summary
1 failed
[firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
1 skipped
41 passed (49.4s)
|
|
🎭 Playwright Run Summary
1 failed
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
42 passed (1.0m)
|
|
🎭 Playwright Run Summary
2 skipped
92 passed (1.3m)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.6m)
|
|
🎭 Playwright Run Summary
2 failed
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
12 skipped
12 did not run
68 passed (1.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
|
127 KB |
sha256:6f1cf2a3adcd2ac7cb080cd37b64af37afd7c8054d8b39afec13aaa14453be00
|
|
|
blob-report-chromium-2
|
240 KB |
sha256:42d90092c56000bfddcdf582532410167e8e5e606af7e0e8c5ea1664ec4e4be8
|
|
|
blob-report-firefox-1
|
113 KB |
sha256:784ed68851bf5d91151846824629fd6de1cc482a8521e5853ef7b92152fedc48
|
|
|
blob-report-firefox-2
|
304 KB |
sha256:60f258234a1af58f8b9a7683599047b92d5d0725efa113f798639bf0a527bf30
|
|
|
blob-report-webkit-1
|
260 KB |
sha256:829bb3aa3b70de6b35f2af54f77770f2a0a374c08de34294f420386af1e6e965
|
|
|
blob-report-webkit-2
|
339 KB |
sha256:3b445546ccd5f4ad1678bee0604a763c4af3ef85d7cc6243d63bddef35f7721e
|
|
|
playwright-build
|
21.2 MB |
sha256:2ec54507e80918825ab33cc04eddcb18cc6a4e6cfb2f9bd5e6a5391cc3f578eb
|
|
|
playwright-report-chromium-1
|
260 KB |
sha256:80c7732c019e10d60ecbec647e5196b3785af8aca054270e164824f972e337ca
|
|
|
playwright-report-chromium-2
|
391 KB |
sha256:7abd4d845090198a5692e3a301876c53d65ed6746fe26f998dfb62b58c34b027
|
|
|
playwright-report-firefox-1
|
250 KB |
sha256:e6152afd10249a82ae6bb45cee178e39e5d6f3e9189805de3b8ee44494d77273
|
|
|
playwright-report-firefox-2
|
456 KB |
sha256:4df97f8f473529786afcef301a0c27bc5122a52f27fec6dda769b481e7152e94
|
|
|
playwright-report-merged
|
1.11 MB |
sha256:3b10933524fb6c3b0f4feae6f489a9b4cbde280dc3eb7478a353ed7890ccf49c
|
|
|
playwright-report-webkit-1
|
356 KB |
sha256:22e86726b54888d319efa982133caaefd949fe9e87f294dbc8e25789b5710cd2
|
|
|
playwright-report-webkit-2
|
490 KB |
sha256:382f9867efc28dbaa7410f67cb4ea2882994a6a86c7412023824fe48ca8ad439
|
|
|
relative-ci-artifacts-editor
|
44.7 KB |
sha256:de57cd7887e6dc8704036a9eadf662573ebf0ef4e4117ec2b240b459e9131bf3
|
|