streamId: 'a-00001', streamType: 'final' },
          from: { id: 'bot', role: 'bot' },
          id: crypto.randomUUID(),
          type: 'typing'
        });

        // THEN: Should hide typing indicator.
        await waitFor(() => expect(pageElements.typingIndicator()).toBeFalsy());

        // THEN: Should not show additional message.
        await waitFor(() => expect(pageElements.activities()).toHaveLength(1));

        // THEN: Should match snapshot.
        await host.snapshot('local');
      });
