From be069563985a65bc85a0d05d72cbd2bd95b9e56e Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 18 Oct 2026 14:39:59 +0200 Subject: [PATCH] test: cover the From pick when replying to another connected account --- .../email/__tests__/reply-addressing.test.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/components/email/__tests__/reply-addressing.test.tsx b/components/email/__tests__/reply-addressing.test.tsx index 8a489d537..93dd0866d 100644 --- a/components/email/__tests__/reply-addressing.test.tsx +++ b/components/email/__tests__/reply-addressing.test.tsx @@ -489,6 +489,24 @@ describe('composer reply addressing', () => { render(); expect(identitySelect().value).toBe('local-1::id-info'); }); + + // Mail one connected account sent to another was received by the second: + // the reply goes back to the sender, from the address that received it. + it('answers mail another connected account sent here like received mail', () => { + render( + , + ); + expect(toChips()).toEqual(['Login (login@elsewhere.net)']); + expect(identitySelect().value).toBe('local-1::id-info'); + }); }); });