Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #62 from matrix-org/bwindels/morecustomhsregisterfix
Browse files Browse the repository at this point in the history
Fix: only need 2 "Next" clicks, not 3, when setting a custom HS during registration
  • Loading branch information
bwindels authored Sep 16, 2019
2 parents 5f03854 + 1ea5047 commit 912a974
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/usecases/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ module.exports = async function signup(session, username, password, homeserver)
const nextButton = await session.query('.mx_Login_submit');
// accept homeserver
await nextButton.click();
await session.delay(200);
// accept discovered identity server
await nextButton.click();
await session.query('.mx_ServerConfig_identityServer_shown');
// accept default identity server
await nextButton.click();
}
//fill out form
Expand Down

0 comments on commit 912a974

Please sign in to comment.