The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): the two-finger case where the outside finger lifts first needs the move guard
Teknium0b95c4716371
diff --git a/apps/desktop/src/app/chat/composer/touch-text-entry.test.tsx b/apps/desktop/src/app/chat/composer/touch-text-entry.test.tsxindex 345f94ef09d..6ec2235f102 100644--- a/apps/desktop/src/app/chat/composer/touch-text-entry.test.tsx+++ b/apps/desktop/src/app/chat/composer/touch-text-entry.test.tsx@@ -70,6 +70,12 @@ describe('composer text entry on a touch host (#145166)', () => {fireEvent.touchEnd(editor, { touches: [second], changedTouches: [first] })expect(editor.ownerDocument.activeElement).not.toBe(editor)+ // Both fingers down during the move, the outside one lifts first: only the move cancels this.+ fireEvent.touchStart(editor, { touches: [first], changedTouches: [first] })+ fireEvent.touchMove(editor, { touches: [point(12, 11), second], changedTouches: [point(12, 11)] })+ fireEvent.touchEnd(editor, { touches: [], changedTouches: [point(12, 11)] })+ expect(editor.ownerDocument.activeElement).not.toBe(editor)+tap(editor, [10, 10])expect(editor.ownerDocument.activeElement).toBe(editor)})