creen.
        await waitFor(() => expect(pageElements.typingIndicator()).toBeTruthy());

        // ---

        // WHEN: After 2 seconds.
        ponyfill.tick(2_000);

        // WHEN: The bot send another message activity.
        await directLine.emulateIncomingActivity({
          from: { id: 'bot', role: 'bot' },
          id: crypto.randomUUID(),
          text: 'This message should stop the typing indicator.',
          type: 'message'
        });

        // THEN: Bot should send another message.
