nditions.uiConnected();

        // WHEN: Initially.
        // THEN: Typing indicator should not be shown.
        expect(pageElements.typingIndicator()).toBeFalsy();

        // WHEN: After sending "typing" to the bot.
        await (await directLine.emulateOutgoingActivity('typing')).resolveAll();

        // WHEN: The bot send a message activity.
        await directLine.emulateIncomingActivity({
          from: { id: 'bot', role: 'bot' },
          id: crypto.randomUUID(),
          text: 'I am sending