test: stabilize secure mail warmup assertion

This commit is contained in:
BigBodyCobain
2026-05-01 23:54:25 -06:00
parent 1b2ad5023d
commit 5dac844532
@@ -302,7 +302,7 @@ describe('MessagesView first-contact trust UX', () => {
fireEvent.click(screen.getByRole('button', { name: 'Send Secure Mail' }));
await screen.findByText(/Mail delivered to Pinned Peer/i);
await screen.findByText(/Mail delivered to Pinned Peer/i, {}, { timeout: 5000 });
expect(mocks.prepareWormholeInteractiveLane).toHaveBeenCalled();
expect(mocks.sendDmMessage).toHaveBeenCalled();
});