feat: Trailing block extension rewrite #7758
build.yml
on: pull_request
Playwright Build
1m 35s
Build
3m 25s
Matrix: playwright
Merge Playwright Reports
52s
Annotations
13 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 - chromium (1/2)
Process completed with exit code 1.
|
|
[chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks:
tests/src/utils/mouse.ts#L12
2) [chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Error: locator.boundingBox: Test timeout of 8000ms exceeded.
Call log:
- waiting for locator('[data-content-type=heading][data-level="2"]')
at ../utils/mouse.ts:12
10 |
11 | async function getElementRightCoords(_page: Page, element: Locator) {
> 12 | const boundingBox = (await element.boundingBox())!;
| ^
13 | const centerY = boundingBox.y + boundingBox.height / 2;
14 |
15 | return { x: boundingBox.x + boundingBox.width - 1, y: centerY };
at getElementRightCoords (/__w/BlockNote/BlockNote/tests/src/utils/mouse.ts:12:38)
at dragAndDropBlock (/__w/BlockNote/BlockNote/tests/src/utils/mouse.ts:56:13)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts:38:5
|
|
[chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks:
tests/src/end-to-end/dragdrop/dragdrop.test.ts#L0
2) [chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Test timeout of 8000ms exceeded.
|
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:27:7 › Check Copy/Paste Functionality › Paragraphs should stay separate:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:27:7 › Check Copy/Paste Functionality › Paragraphs should stay separate
Error: expect(string).toMatchSnapshot(expected)
@@ -18,11 +18,11 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "Paragraph"
+ "text": "ParagraphParagraphParagraph"
}
]
}
]
},
@@ -40,135 +40,15 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "Paragraph"
+ "text": "ParagraphParagraphParagraph"
}
]
}
]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "2"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "Paragraph"
- }
- ]
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "4"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "Paragraph"
- }
- ]
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "5"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
- "text": "Paragraph"
- }
- ]
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "6"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- },
- "content": [
- {
- "type": "text",
|
|
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks:
tests/src/utils/mouse.ts#L12
1) [webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Error: locator.boundingBox: Test timeout of 8000ms exceeded.
Call log:
- waiting for locator('[data-content-type=heading][data-level="2"]')
at ../utils/mouse.ts:12
10 |
11 | async function getElementRightCoords(_page: Page, element: Locator) {
> 12 | const boundingBox = (await element.boundingBox())!;
| ^
13 | const centerY = boundingBox.y + boundingBox.height / 2;
14 |
15 | return { x: boundingBox.x + boundingBox.width - 1, y: centerY };
at getElementRightCoords (/__w/BlockNote/BlockNote/tests/src/utils/mouse.ts:12:38)
at dragAndDropBlock (/__w/BlockNote/BlockNote/tests/src/utils/mouse.ts:56:13)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts:38:5
|
|
[webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks:
tests/src/end-to-end/dragdrop/dragdrop.test.ts#L0
1) [webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Test timeout of 8000ms exceeded.
|
|
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": "7e8b339d7730b4542ebcadf0f6db2238657f180c",
"ref": "2733",
"headBranch": "trailing-block-update"
},
"key": "tSD5XvbXyY",
"runId": 25673061381,
"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": "7e8b339d7730b4542ebcadf0f6db2238657f180c",
"ref": "2733",
"headBranch": "trailing-block-update"
}
},
"currentCursor": {
"sha": "e02f85e138f97edeba2921049409f4c17061f054",
"timestamp": 25671996463
},
"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.8s)
|
|
🎭 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 (48.6s)
|
|
🎭 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.1m)
|
|
🎭 Playwright Run Summary
2 failed
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:27:7 › Check Copy/Paste Functionality › Paragraphs should stay separate
[chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
2 skipped
12 did not run
78 passed (1.2m)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 failed
[webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:21:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
12 skipped
4 did not run
77 passed (1.9m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
|
133 KB |
sha256:dee643bd385164f7853ceebd1bf1a68839e84fd2dfabd9679edce29e4bdb376c
|
|
|
blob-report-chromium-2
|
240 KB |
sha256:c1dbf2a2cb4491bc309c915a34ead67d2dfdc3aebb65bf317a14b62b26838c5c
|
|
|
blob-report-firefox-1
|
112 KB |
sha256:fb7a3d113f25665119b713a1ed43ae6aeef7d0206b4e3c97dd0707f65c95bc3d
|
|
|
blob-report-firefox-2
|
305 KB |
sha256:bf239eca3058d7ce51cf35746ca5c89ad6a016a572bfac6f0834d54d0af7bf74
|
|
|
blob-report-webkit-1
|
148 KB |
sha256:cef6f1e300c7a12aa01e3e6786eaa6e13322f60cc26c66931e0fce3ec21aeedf
|
|
|
blob-report-webkit-2
|
339 KB |
sha256:6d96754393b30ffbd5bfa3ce9d268e863bfff7c7fa42a7dc49026b6f3135c494
|
|
|
playwright-build
|
21.2 MB |
sha256:eba4581babcda755d98d434c15a57a142ffb681e305a41b3d8d678429f90e185
|
|
|
playwright-report-chromium-1
|
265 KB |
sha256:62c17c7dfd21194af863d377d8768d4106cc94a4d5e46d246306d959f457683a
|
|
|
playwright-report-chromium-2
|
391 KB |
sha256:a3a7830ecd7e40cf2e6d3177248a8d16cd028f7c911ddce654484233e9c95181
|
|
|
playwright-report-firefox-1
|
249 KB |
sha256:dfd47cf315b7f034e9f3e5d5d0296bc573b571283b70269d040764e028f20bbc
|
|
|
playwright-report-firefox-2
|
456 KB |
sha256:acad54d0b3df342650f1cbf385f56e31021c49c0c57ab976bd317529e3ce1c75
|
|
|
playwright-report-merged
|
1.05 MB |
sha256:166f23d2f9fdbdf26fc3856bd956e63f67a7387c5a65031e4de6357c94feab7b
|
|
|
playwright-report-webkit-1
|
283 KB |
sha256:7efbb61565f6785b38b110eb569c69ad98dc5d0522004881b24d5397c8400a6c
|
|
|
playwright-report-webkit-2
|
490 KB |
sha256:0f9118ef7ec1e7022035356a5c141d8cba85066950166e95aa38d8f34c377034
|
|
|
relative-ci-artifacts-editor
|
44.7 KB |
sha256:e4d9ac7b079b8052e734e38bab232aab16828b8e9c7754fa704dc6b259a8a960
|
|