only need 2 clicks, not 3

This commit is contained in:
Bruno Windels 2019-09-16 14:02:22 +02:00
parent 5f03854f69
commit 1ea5047607

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