feat: nested blocks POC #7579
build.yml
on: pull_request
Playwright Build
2m 22s
Build
5m 42s
Matrix: playwright
Merge Playwright Reports
48s
Annotations
2 errors, 1 warning, and 7 notices
|
[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 1610px. 51208 pixels (ratio 0.03 of all image pixels) are different.
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
|
|
[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": "ab86f5b4d24812ce87765a8ef3132b9d59930a37",
"ref": "2697"
},
"key": "CnqJ0FBccR",
"runId": 25174365210,
"webhookDebug": {
"action": "requested",
"head_branch": "feat/nested-blocks",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2697,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:feat/nested-blocks",
"oldPrDataHash": "MYpyUz3A65",
"lookupKey": "TypeCellOS/BlockNote:feat/nested-blocks",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "ab86f5b4d24812ce87765a8ef3132b9d59930a37",
"ref": "2697"
}
}
}
|
|
🎭 Playwright Run Summary
42 passed (35.9s)
|
|
🎭 Playwright Run Summary
42 passed (48.1s)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
41 passed (1.1m)
|
|
🎭 Playwright Run Summary
15 skipped
76 passed (1.5m)
|
|
🎭 Playwright Run Summary
2 skipped
89 passed (1.3m)
|
|
🎭 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
11 skipped
79 passed (2.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
126 KB |
sha256:a8c28909541b201aee144dcbedd8b3fd5ab4fa0308e05742dd1da615d0a7ccb5
|
|
|
blob-report-chromium-2
Expired
|
50.9 KB |
sha256:ee25ede12bd48c1bae831057a2080dcdd8be67a71f1b88492b5b7960f309af82
|
|
|
blob-report-firefox-1
Expired
|
112 KB |
sha256:b72a2c41ac1eec5c6057c809326456152b905f0089f7a9399546978257caf62d
|
|
|
blob-report-firefox-2
Expired
|
51.7 KB |
sha256:fcfcd509a6f4b1c9d92dc5d285e03881de0838255ab22f6c5752efae1edb5e73
|
|
|
blob-report-webkit-1
Expired
|
5.26 MB |
sha256:e68f567967868acf62fedfb30e359fcd170e4736172d65450fe02d78ac73b961
|
|
|
blob-report-webkit-2
Expired
|
1.08 MB |
sha256:19c237c7f44c226c969372e09da91e01b931d8e6be075f8d9499da0b2e9c0cae
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:f8fd151ef87df4ce6af5ead24fa831784dca3ee491b5de4e5ff639bc3569e487
|
|
|
playwright-report-chromium-1
|
259 KB |
sha256:58bf333f5efadb1ff9a0a2e9d37c56f231c6f93453675b6de727137ffff5a6b4
|
|
|
playwright-report-chromium-2
|
208 KB |
sha256:7c474d17598ab1e1f3c2ca3a782947f440963e513f2616105c77537b5b30ff23
|
|
|
playwright-report-firefox-1
|
249 KB |
sha256:d8d22c4ce62a14e2c2aab7b8a9761b172b8102335aa45096c154dc8c2ad20450
|
|
|
playwright-report-firefox-2
|
209 KB |
sha256:b15928b3b4b51b0b28d87b1cf4e1c28acff09881f76f2c7120f641f8ca49f54f
|
|
|
playwright-report-merged
|
6.85 MB |
sha256:56a5b4e6f41da25a7e0c9eec19ae9234206bea2c702471fef90d663de31ae08c
|
|
|
playwright-report-webkit-1
|
5.76 MB |
sha256:5b5c67c28a13c92df05b9edac6c7ad234ebc8eab18a4093d85974c616be47cbe
|
|
|
playwright-report-webkit-2
|
1.61 MB |
sha256:a555b701e48c0c1d1433ec3a82d92441c1f76c482167187f6d2e58998542e506
|
|
|
relative-ci-artifacts-editor
|
48.2 KB |
sha256:7dba2193aae0f1a378c0cae340c7ee4ce6d825352c693bfa309b0b9a0700f81d
|
|