Merge pull request #62 from matrix-org/bwindels/morecustomhsregisterfix

Fix: only need 2 "Next" clicks, not 3, when setting a custom HS during registration
pull/21833/head
Bruno Windels 2019-09-16 12:13:29 +00:00 committed by GitHub
commit 912a974725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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