mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-31 19:31:11 +02:00
This changes the way tests wait for login to complete from a timer-based system (which can cause intermittent failures) to an action-based system. The lifecycle code dispatches the action `on_logged_in` when login completes which we can wait for in the tests as a much better indication that work is done.