Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(desktop): 消除模型面板焦点时序抖动
DavidShenfadcf0e63e80
diff --git a/apps/desktop/src/renderer/__tests__/modelSelectorProviderGroups.test.tsx b/apps/desktop/src/renderer/__tests__/modelSelectorProviderGroups.test.tsxindex 0fa5fe951a..94c5b663d7 100644--- a/apps/desktop/src/renderer/__tests__/modelSelectorProviderGroups.test.tsx+++ b/apps/desktop/src/renderer/__tests__/modelSelectorProviderGroups.test.tsx@@ -284,10 +284,10 @@ async function openDropdown(): Promise<void> {async function openModelOptionsPanel(row: HTMLElement): Promise<void> {await act(async () => {- // These tests cover floating-panel geometry and anchor replacement. Focus is- // an equivalent supported entry point and avoids platform-specific pointer- // event trust/coordinate behavior obscuring those contracts.- fireEvent.focus(row);+ // These tests cover floating-panel geometry and anchor replacement. ArrowLeft+ // is an explicitly supported entry point that invokes the reveal path without+ // coupling the assertion to pointer trust or focus/blur timing under CI load.+ fireEvent.keyDown(row, { key: 'ArrowLeft' });});}