fix(core): trigger codeblock input rule on Enter and place cursor inside #7559
build.yml
on: pull_request
Playwright Build
1m 18s
Build
4m 1s
Matrix: playwright
Merge Playwright Reports
45s
Annotations
1 error, 1 warning, and 7 notices
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:59:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:59:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks
Error: expect(string).toMatchSnapshot(expected)
@@ -16,37 +16,33 @@
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "H"
- }
- ]
+ }
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4"
},
"content": [
{
- "type": "paragraph",
+ "type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
- "textAlignment": "left"
+ "textAlignment": "left",
+ "level": 1,
+ "isToggleable": false
},
"content": [
{
"type": "text",
- "text": "eading"
+ "text": "Heading"
}
]
},
{
"type": "blockGroup",
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocks-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-351fd-ter-preserves-nested-blocks-webkit/enterPreservesNestedBlocks-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:75: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
42 passed (47.1s)
|
|
🎭 Playwright Run Summary
42 passed (36.4s)
|
|
🎭 Playwright Run Summary
42 passed (1.0m)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "6be224a07fcb70be07be1fa37708c84be5c106a4",
"ref": "2686"
},
"key": "DjZEaCfWiu",
"runId": 25115867205,
"webhookDebug": {
"action": "requested",
"head_branch": "feat/fix-codeblock-input-rule",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2686,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:feat/fix-codeblock-input-rule",
"oldPrDataHash": "OgItT2KttB",
"lookupKey": "TypeCellOS/BlockNote:feat/fix-codeblock-input-rule",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "6be224a07fcb70be07be1fa37708c84be5c106a4",
"ref": "2686"
}
}
}
|
|
🎭 Playwright Run Summary
2 skipped
88 passed (1.3m)
|
|
🎭 Playwright Run Summary
14 skipped
76 passed (1.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:59:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks
10 skipped
79 passed (2.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
124 KB |
sha256:7a240f3425244425d9741af1ff9f40e403a1d8d2608dfcec530a8abc363c40b7
|
|
|
blob-report-chromium-2
Expired
|
50.9 KB |
sha256:d94b2d542686c0d141ab2919824fd89b8468d8c828547d40c08d3ed3384fa888
|
|
|
blob-report-firefox-1
Expired
|
112 KB |
sha256:328182eaab75ba87a7cd984770fe100494e58a06739c1204deb7d1d4799308d2
|
|
|
blob-report-firefox-2
Expired
|
51.8 KB |
sha256:5854914c2e82cd28988c82d2c34813696923b93f2ee23fe9730d1f3d6a821633
|
|
|
blob-report-webkit-1
Expired
|
5.17 MB |
sha256:dd7df86294e3d51b19eaacebd15d9c5faf1ed1fb0cb0b4d4a22bfd7b0c5a9737
|
|
|
blob-report-webkit-2
Expired
|
52 KB |
sha256:2d343b81a3a11c202945c5dcc08b0795fb3a835164562006712aa7fa19d88e1e
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:06ba539edbda53d5e902dfba6a04f3454e355cc533d312caebeff17d86f3a5f6
|
|
|
playwright-report-chromium-1
Expired
|
258 KB |
sha256:8faac2a221f3c0a3ef4c6f5968601249ce91202d00436ce7e2654a93381519fe
|
|
|
playwright-report-chromium-2
Expired
|
208 KB |
sha256:a824668a21b644ed0556b9c098b1c24758c68389b4aa6e7e07aa2c2c9be74116
|
|
|
playwright-report-firefox-1
Expired
|
249 KB |
sha256:c21ea959b636a07ea71a44af9eafa073dc83633047f4a3d84fbf5360ed2998b5
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:4821fa1a1a0dafd3dedfb5bb166ccf1198596012f57fdf4f901bc562fd79eb7d
|
|
|
playwright-report-merged
Expired
|
5.74 MB |
sha256:4ccd335229c231a62c2e94fa751d36ebc78fcc8af0b9c64e6499ae9c081cda9c
|
|
|
playwright-report-webkit-1
Expired
|
5.67 MB |
sha256:aa8cc9327dc75fcf9339394b3b0291a52dd98a209d6b2e9b7bd1f939ccab338c
|
|
|
playwright-report-webkit-2
Expired
|
209 KB |
sha256:08952bfbb12570ee677ec51f028637a289d082054e635e608402da054c18069f
|
|
|
relative-ci-artifacts-editor
|
48.3 KB |
sha256:1e249e5ab5fd52a34c9beafa77acf6bf19153d4eaa57160d1247ed9c5b37eb3d
|
|