From 1ea5047607ea6b78b93f8939077e49d2ec81dfe9 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 16 Sep 2019 14:02:22 +0200 Subject: [PATCH] only need 2 clicks, not 3 --- src/usecases/signup.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/usecases/signup.js b/src/usecases/signup.js index a4f50b3e32..64cf52668c 100644 --- a/src/usecases/signup.js +++ b/src/usecases/signup.js @@ -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