From 9df9505da0315d139f14ca5fbf5b9d899d1eca1f Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 4 Nov 2026 09:09:18 +0100 Subject: [PATCH] test: look for the archive toast by its new wording in the undo reopen test --- components/mail/__tests__/mail-app-return-to-list.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mail/__tests__/mail-app-return-to-list.test.tsx b/components/mail/__tests__/mail-app-return-to-list.test.tsx index 84b280902..6fbe085ba 100644 --- a/components/mail/__tests__/mail-app-return-to-list.test.tsx +++ b/components/mail/__tests__/mail-app-return-to-list.test.tsx @@ -318,7 +318,7 @@ describe('Archive with the list beside the reading pane', () => { fireEvent.click(await screen.findByText('stub archive', {}, { timeout: 5000 })); await waitFor(() => expect(selectedId()).toBe('m2')); const archived = await waitFor(() => { - const found = useToastStore.getState().toasts.find((toast) => toast.title === 'notifications.email_archived'); + const found = useToastStore.getState().toasts.find((toast) => toast.title === 'mail_list_extra.archived'); expect(found?.action).toBeTruthy(); return found!; });