fix(core): trigger codeblock input rule on Enter and place cursor inside #7676
build.yml
on: pull_request
Playwright Build
1m 45s
Build
3m 45s
Matrix: playwright
Merge Playwright Reports
44s
Annotations
1 error, 1 warning, and 7 notices
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:97:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:97:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
Error: expect(string).toMatchSnapshot(expected)
@@ -9,15 +9,17 @@
"attrs": {
"id": "0"
},
"content": [
{
- "type": "paragraph",
+ "type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
- "textAlignment": "left"
+ "textAlignment": "left",
+ "level": 1,
+ "isToggleable": false
},
"content": [
{
"type": "text",
"text": "Heading"
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspaceStartOfBlock-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-54c1c-ace-at-the-start-of-a-block-webkit/backspaceStartOfBlock-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:105: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": "88c9a50df22e91c74a47497feea7c11ec867d42b",
"ref": "2686",
"headBranch": "feat/fix-codeblock-input-rule"
},
"key": "Mk9RFWB4bE",
"runId": 25445564856,
"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": "88c9a50df22e91c74a47497feea7c11ec867d42b",
"ref": "2686",
"headBranch": "feat/fix-codeblock-input-rule"
}
},
"currentCursor": {
"sha": "ec7918e0595b951bbf4bc273788e222a0f2128e8",
"timestamp": 25444381808
}
}
|
|
🎭 Playwright Run Summary
43 passed (36.6s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (47.1s)
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
2 skipped
91 passed (1.3m)
|
|
🎭 Playwright Run Summary
16 skipped
77 passed (1.6m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:97:7 › Check Keyboard Handlers' Behaviour › Check Backspace at the start of a block
12 skipped
80 passed (2.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
128 KB |
sha256:5ae7458a65436b3b15de7f1e618d142ddae344e2a87bc9866e48ddbc23c81379
|
|
|
blob-report-chromium-2
Expired
|
52.8 KB |
sha256:5d34165aaeeab5a7b455786e4db2e8ef2a54e6bdcdbb84b2b621162379d3367b
|
|
|
blob-report-firefox-1
Expired
|
114 KB |
sha256:26ffad8b3bdf1819c1b875138fcbf5db439264f7d89efe5db090afe06c5a8810
|
|
|
blob-report-firefox-2
Expired
|
52.6 KB |
sha256:38328d6a2748a4e674904bfd66eececcdcca13d51acd5732697f41dba16b046c
|
|
|
blob-report-webkit-1
Expired
|
5.36 MB |
sha256:10828901729bfd81b3df5758ebd8d4ee4bc5a1f6e9005221e8e64c764ad4cef2
|
|
|
blob-report-webkit-2
Expired
|
53.3 KB |
sha256:6ad73a728e483713e7bf9844da669d0a20856d6bcbbd28d35e429e1380f26fb8
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:ff45fc03c84267bf2ccf25f6b9ac4b87d8dce902fe90da7d65f852ced422c7c3
|
|
|
playwright-report-chromium-1
Expired
|
261 KB |
sha256:362428197ce7e48f6e157a2ca31fc84a77cd67bf612bfbc8a5466c2bf8515641
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:f7d68ed6d09d9468709b142c454f1491b3a2f20938181fdf53085cbb9c29f9cd
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:da42d4387932103c7a56927149e0877d84c7e09d7b314e56e58c2e26fa5d3002
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:68900925d5f26aa71ec632efe3d79bfe3fc736ebfd710f399fdeeda3259e2856
|
|
|
playwright-report-merged
Expired
|
5.94 MB |
sha256:036deb21f0191f57d6ae49ed050beb9ff26e664b5061179863e1c2b44a2a3388
|
|
|
playwright-report-webkit-1
Expired
|
5.86 MB |
sha256:fc97b56af81b71f27015ebbe9bfe3cf127411fdcb397573dc808fd4d17d7cf28
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:4ebd0e7cb20cf87353ba88d746d7ac1def0d1834e430bdd752fc4d103503629d
|
|
|
relative-ci-artifacts-editor
|
44.7 KB |
sha256:26ce173c5cf69affabe9393dfd4cdd701606325639e955d2b763064d23053d16
|
|