fix: prevent FloatingFocusManager from resetting editor selection (#2525) #7501
build.yml
on: pull_request
Playwright Build
1m 53s
Build
4m 34s
Matrix: playwright
Merge Playwright Reports
41s
Annotations
1 error, 1 warning, and 7 notices
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:195:7 › Check Keyboard Handlers' Behaviour › Check Delete before inline content block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:195:7 › Check Keyboard Handlers' Behaviour › Check Delete before inline content block
Error: expect(string).toMatchSnapshot(expected)
@@ -18,28 +18,50 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragraph"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"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"
}
}
]
}
]
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteInlineContent-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-7f47c-before-inline-content-block-webkit/deleteInlineContent-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:204: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
40 passed (35.6s)
|
|
🎭 Playwright Run Summary
40 passed (46.0s)
|
|
🎭 Playwright Run Summary
40 passed (1.0m)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "a56afeea3de44e8738968e3a1c06c54cf6667315",
"ref": "2664"
},
"key": "cHGQiDq2sI",
"runId": 24879356115,
"webhookDebug": {
"action": "requested",
"head_branch": "fix/ai-selection-reset-2525",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2664,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:fix/ai-selection-reset-2525",
"oldPrDataHash": "EArZWqa36D",
"lookupKey": "TypeCellOS/BlockNote:fix/ai-selection-reset-2525",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "a56afeea3de44e8738968e3a1c06c54cf6667315",
"ref": "2664"
}
}
}
|
|
🎭 Playwright Run Summary
2 skipped
85 passed (1.2m)
|
|
🎭 Playwright Run Summary
12 skipped
75 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:195:7 › Check Keyboard Handlers' Behaviour › Check Delete before inline content block
10 skipped
76 passed (2.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
118 KB |
sha256:152f0e894dfd88566c08b219beb3c63ba3f93ccfa02b8f4d6d70d03d5f65c7da
|
|
|
blob-report-chromium-2
Expired
|
48.4 KB |
sha256:5ca507e30ef052c519a1048591cc70b60e3b737e62c69cc01dab8dae1a4a017d
|
|
|
blob-report-firefox-1
Expired
|
108 KB |
sha256:0aeca0a3b8bfb7be48ede3174beccd7458a74a6274065b7e45073fd043a039fb
|
|
|
blob-report-firefox-2
Expired
|
49.7 KB |
sha256:cc42c5106eb3f5d17dbf5cd99f4d644987e3c0bbfe1f01be8d69ed4f90a27184
|
|
|
blob-report-webkit-1
Expired
|
5.29 MB |
sha256:780f04bdfb98cb9f9fed1d8c9141fe3cab021dd3f178a68301e663b0e3763cd6
|
|
|
blob-report-webkit-2
Expired
|
49.6 KB |
sha256:28842d5fb3a7035187750121a5d5cf7525bfa72b13b829a4a5c9f20f26588826
|
|
|
playwright-build
Expired
|
21.5 MB |
sha256:66016e604fe74e376cf69e2868bcdd9a94a1b1c7f869ec3bd47f8c806af9d0f6
|
|
|
playwright-report-chromium-1
|
253 KB |
sha256:d483d64acdfff1faded301ddcd2ce58f7e856f4a2c276c14bc509f944c3df28a
|
|
|
playwright-report-chromium-2
|
207 KB |
sha256:6ee0013ac66604be416987d53cd6f54bcebc827485c4bf35d812227c8c24ba43
|
|
|
playwright-report-firefox-1
|
245 KB |
sha256:cb5df4e05b19338325092b7590c4840684065940289e8f2e816814b1c964ce06
|
|
|
playwright-report-firefox-2
|
208 KB |
sha256:360cbf2e737fec21a89e7300aa33a4fb9ffb1a30e4fe3999bacd87897ec247ed
|
|
|
playwright-report-merged
|
5.86 MB |
sha256:9cde71c16c82683eeadfb91849e8182a1e158fed6bc0d624307c4607df559dd8
|
|
|
playwright-report-webkit-1
|
5.79 MB |
sha256:0d8fa757950017a983de4439c197a19d663798a69eff2c87f9b304d934d7e107
|
|
|
playwright-report-webkit-2
|
208 KB |
sha256:0e27e59bbb65a2c0f28900b70e13a981de9fbd99c6a76d6be5b136ccea4c2479
|
|
|
relative-ci-artifacts-editor
|
48.2 KB |
sha256:4f66b2bf4bb768530454f9ce0cfd2c9bf619984db533d517a14efc80257a6638
|
|