Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use on_logged_in action in tests #9279

Merged
merged 2 commits into from
Mar 27, 2019
Merged

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Mar 26, 2019

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.

Required for matrix-org/matrix-react-sdk#2826
Part of #9271

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.
@jryans jryans requested a review from a team March 26, 2019 15:57
@jryans jryans merged commit e8ec6cc into element-hq:develop Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants