fix: restore depth guard in getParentBlockInfo to prevent RangeError … #7179
build.yml
on: push
Playwright Build
3m 32s
Build
6m 22s
Matrix: playwright
Merge Playwright Reports
39s
Annotations
1 error, 9 warnings, and 7 notices
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "4"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -55,19 +39,41 @@
"isToggleable": false
},
"content": [
{
"type": "text",
- "text": "Heading"
+ "text": "Hea"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
+ "id": "4"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "ding"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
"id": "2"
},
"content": [
{
"type": "heading",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-webkit/enterPreservesNestedBlocksEmpty-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:95:5
|
|
Playwright Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - chromium (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - webkit (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - firefox (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - chromium (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - firefox (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - webkit (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Merge Playwright Reports
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
40 passed (34.9s)
|
|
🎭 Playwright Run Summary
40 passed (1.0m)
|
|
🎭 Playwright Run Summary
40 passed (46.3s)
|
|
🎭 Playwright Run Summary
2 skipped
82 passed (1.2m)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "9daa7aa3fe7276f21575ed1903c4f39b47fce4de",
"ref": "main"
},
"key": "Waw87jLFpE",
"runId": 23908738716,
"webhookDebug": {
"action": "requested",
"head_branch": "main",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": false,
"prNumber": null,
"prNumberType": "object",
"isNewPullRequest": false,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:main",
"oldPrDataHash": "m72SGUJfNr",
"lookupKey": "m72SGUJfNr",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "9daa7aa3fe7276f21575ed1903c4f39b47fce4de",
"ref": "main"
}
}
}
|
|
🎭 Playwright Run Summary
12 skipped
72 passed (1.4m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
10 skipped
73 passed (2.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
114 KB |
sha256:0e49509cc43e137ff3c1daedcc40168b18b082258c595e658ab8b2090aa76b36
|
|
|
blob-report-chromium-2
Expired
|
48.6 KB |
sha256:7c81bad1500377cecd24c747027c51b61ab45859a45c5f5151f4ab84d8f95236
|
|
|
blob-report-firefox-1
Expired
|
103 KB |
sha256:1b6c0f00b0e2feab5b2e919962b9a92049bea20dc94aab2d9b8bc89f4b3c8b2f
|
|
|
blob-report-firefox-2
Expired
|
49.4 KB |
sha256:481863b438a7025962970293883fcf04530b58f9aab58f004092b04990d88baa
|
|
|
blob-report-webkit-1
Expired
|
5.29 MB |
sha256:130c891964aef0d4c35d0d257b0d2bf14a7bd4e68987d7570ef0213a4d17e1e1
|
|
|
blob-report-webkit-2
Expired
|
49.4 KB |
sha256:17e954a91185a38f3a50d5f1d19cd74b6987f54e86c187c3716442917605ca4b
|
|
|
playwright-build
Expired
|
26.4 MB |
sha256:abe868174f988d55bc94ecd507e5e6096c6133d589b52356307c4155e7309233
|
|
|
playwright-report-chromium-1
Expired
|
247 KB |
sha256:49f5a1e3eb48b4a31cd24c7498d053d26a116271cf052ca838a7deee01938c02
|
|
|
playwright-report-chromium-2
Expired
|
207 KB |
sha256:3cab11d22d208876e9da6d96441fc037bfde2ee8640e21bb626837a97d644bcc
|
|
|
playwright-report-firefox-1
Expired
|
240 KB |
sha256:7010e82742607c81bfc6d1251c89c76d1b9f7b1538618e1776ec78effa84234d
|
|
|
playwright-report-firefox-2
Expired
|
207 KB |
sha256:7ed409ad29b8df6b42a4ca19f89595acdee27bb2ad18e687d260b22d5d6c1c7b
|
|
|
playwright-report-merged
Expired
|
5.86 MB |
sha256:655331d03c7beada208f489663f7f40cbaf08b285faebc7eb3e9fc2b837bf1ab
|
|
|
playwright-report-webkit-1
Expired
|
5.79 MB |
sha256:e81ad58cada3954b35546fddfe850520a8c0fb75f680fd67d7f86f22ea515c57
|
|
|
playwright-report-webkit-2
Expired
|
207 KB |
sha256:b185185f8af2253360a5e3c6d49cada84e126e30b17d8007c5151e42afcac4aa
|
|
|
relative-ci-artifacts-editor
|
47.2 KB |
sha256:025d2ff4101aa3cd86d71373ac03aa3b21fd2b34537e08a3c48bc59d669975c1
|
|