Skip to content

fix: prevent FloatingFocusManager from resetting editor selection (#2525) #7452

fix: prevent FloatingFocusManager from resetting editor selection (#2525)

fix: prevent FloatingFocusManager from resetting editor selection (#2525) #7452

Triggered via pull request April 20, 2026 17:48
Status Success
Total duration 5m 7s
Artifacts 15

build.yml

on: pull_request
Matrix: playwright
Merge Playwright Reports
47s
Merge Playwright Reports
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 7 notices
[chromium] › src/end-to-end/ai/ai-selection.test.ts:13:7 › AI toolbar button should preserve selection (issue #2525) › Editor selection must be preserved after clicking the AI toolbar button: tests/src/end-to-end/ai/ai-selection.test.ts#L28
1) [chromium] › src/end-to-end/ai/ai-selection.test.ts:13:7 › AI toolbar button should preserve selection (issue #2525) › Editor selection must be preserved after clicking the AI toolbar button Error: expect(received).toBeGreaterThan(expected) Expected: > 0 Received: 0 26 | return { from: pm.state.selection.from, to: pm.state.selection.to }; 27 | }); > 28 | expect(selBefore.to - selBefore.from).toBeGreaterThan(0); | ^ 29 | 30 | // Click the AI button using page.mouse to trigger real browser 31 | // focus-shift behavior (Playwright's locator.click() bypasses it) at /__w/BlockNote/BlockNote/tests/src/end-to-end/ai/ai-selection.test.ts:28:43
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": "a56afeea3de44e8738968e3a1c06c54cf6667315", "ref": "2664" }, "key": "wRoSirAEz1", "runId": 24681625505, "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
40 passed (36.7s)
🎭 Playwright Run Summary
40 passed (46.8s)
🎭 Playwright Run Summary
40 passed (1.0m)
🎭 Playwright Run Summary
1 flaky [chromium] › src/end-to-end/ai/ai-selection.test.ts:13:7 › AI toolbar button should preserve selection (issue #2525) › Editor selection must be preserved after clicking the AI toolbar button 2 skipped 83 passed (1.2m)
🎭 Playwright Run Summary
12 skipped 74 passed (1.5m)
🎭 Playwright Run Summary
10 skipped 76 passed (1.8m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1
1.27 MB
sha256:c3db3fb4814ea14f4df806ddfb76b6bfab3ee30fac6f2812e8f57224dd8c6426
blob-report-chromium-2
48.8 KB
sha256:19455fbafc6c94d5832c91cd300a90f9affb9444e3c6533e19a1afbac05f31a5
blob-report-firefox-1
106 KB
sha256:d7c88bc407ecd7e2e6cd9ffa3b5201e93c2fd410e00862714bd3fbfbc8ea0d65
blob-report-firefox-2
49.7 KB
sha256:4fc181853661b90bdc51afcd8913a7b08cabd5aeb9732be95cbdb5e4f8953fb3
blob-report-webkit-1
111 KB
sha256:bca325e402be5ad540572cbbcb944a2979c6f8f954b9fbf497d96854fbf5390a
blob-report-webkit-2
49.6 KB
sha256:d143c0ac728c0646c09b78e3412043ade3302a8e463c55b555bd2cd2def913a4
playwright-build
21.5 MB
sha256:90560959aefaae2e1829f6cea9179bae2431c818a32bace04d090c8de966f7e3
playwright-report-chromium-1
1.77 MB
sha256:90d96ce8c62ffe6d0a49672ed7e3cd90dc22ad96b35bf0d622c0e2d0015c65c3
playwright-report-chromium-2
207 KB
sha256:346e5582ed0bbb130b50643ce6f8dcc8270f247b81bc3e40b98482dd7f2d5c3a
playwright-report-firefox-1
245 KB
sha256:2c6488b1b38b49530ba32ce1e5274d8b7c45e303d0fa680ffbcff19268b84a1f
playwright-report-firefox-2
208 KB
sha256:ca5d2c36171dbfa7e9e7a3dd85348b89654a82b0a373c8b7792df1a7c1106ef2
playwright-report-merged
1.84 MB
sha256:8061697e67ee647549793a3a61fddb6b001cb18d84f5d7e6afbe8a81ad68419e
playwright-report-webkit-1
249 KB
sha256:1a03dd37fd0259c7ece0aa9c14161b433366d57e3920cc8ca0ec63569c0e4bb9
playwright-report-webkit-2
208 KB
sha256:ebf533d4d95c654db94a7e7aac0cd299ac5ce6be3202a31a17d228cb1c1a560b
relative-ci-artifacts-editor
48.4 KB
sha256:e89be0f4dccd75163efe73bceb1b76fdebd41fa7fedc97e043ca007bfe8696a2