        await waitFor(() => expect(pageElements.activities()).toHaveLength(3));

        // THEN: Typing indicator should be hidden.
        expect(pageElements.typingIndicator()).toBeFalsy();

        await host.snapshot('local');
      });
    </script>
  </body>
</html>
