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

More tests for the loading process: #1947

Merged
merged 2 commits into from
Aug 11, 2016
Merged

More tests for the loading process: #1947

merged 2 commits into from
Aug 11, 2016

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 11, 2016

  1. Check that localstorage is correctly updated on successful login (test for Fix settings resetting on refresh matrix-org/matrix-react-sdk#404)
  2. Check that the saved HS isused for guest registration (test for Use the current HS for guest login matrix-org/matrix-react-sdk#405)
  3. Test loginToken handling (test for Refactor login token matrix-org/matrix-react-sdk#406 / Support for refactored login token handling #1946)

Includes the changes in #1946.

loginToken handling is now done by the session loader, so we need to pass in
the queryparams to MatrixChat.

Also, MatrixChat no longer automatically reloads the page to drop the
querystring, so we have to do that ourselves (doing it in index.js allows
tokenlogin to be tested).
1. Check that localstorage is correctly updated on successful login (test for
   matrix-org/matrix-react-sdk#404)

2. Check that the saved HS isused for guest registration (test for
   matrix-org/matrix-react-sdk#405)

3. Test loginToken handling (test for
   matrix-org/matrix-react-sdk#406 /
   #1946)
@dbkr dbkr merged commit ab93e96 into develop Aug 11, 2016
@richvdh richvdh deleted the rav/token_login_tests branch August 15, 2016 10:20
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