mirror of https://github.com/vector-im/riot-web
Merge pull request #62 from matrix-org/bwindels/morecustomhsregisterfix
Fix: only need 2 "Next" clicks, not 3, when setting a custom HS during registrationpull/21833/head
commit
912a974725
|
@ -28,10 +28,8 @@ module.exports = async function signup(session, username, password, homeserver)
|
||||||
const nextButton = await session.query('.mx_Login_submit');
|
const nextButton = await session.query('.mx_Login_submit');
|
||||||
// accept homeserver
|
// accept homeserver
|
||||||
await nextButton.click();
|
await nextButton.click();
|
||||||
await session.delay(200);
|
|
||||||
// accept discovered identity server
|
|
||||||
await nextButton.click();
|
|
||||||
await session.query('.mx_ServerConfig_identityServer_shown');
|
await session.query('.mx_ServerConfig_identityServer_shown');
|
||||||
|
// accept default identity server
|
||||||
await nextButton.click();
|
await nextButton.click();
|
||||||
}
|
}
|
||||||
//fill out form
|
//fill out form
|
||||||
|
|
Loading…
Reference in New Issue