pull/21833/head
David Baker 2020-06-25 13:52:38 +01:00
parent 0acb35dc23
commit 65febd24eb
1 changed files with 4 additions and 2 deletions

View File

@ -80,7 +80,7 @@ module.exports = async function signup(session, username, password, homeserver)
await acceptButton.click();
// Continue with the default (generate a security key)
let xsignContButton = await session.query('.mx_CreateSecretStorageDialog .mx_Dialog_buttons .mx_Dialog_primary');
const xsignContButton = await session.query('.mx_CreateSecretStorageDialog .mx_Dialog_buttons .mx_Dialog_primary');
await xsignContButton.click();
//ignore the recovery key
@ -89,7 +89,9 @@ module.exports = async function signup(session, username, password, homeserver)
await copyButton.click();
//acknowledge that we copied the recovery key to a safe place
const copyContinueButton = await session.query('.mx_CreateSecretStorageDialog .mx_Dialog_buttons .mx_Dialog_primary');
const copyContinueButton = await session.query(
'.mx_CreateSecretStorageDialog .mx_Dialog_buttons .mx_Dialog_primary',
);
await copyContinueButton.click();
//wait for registration to finish so the hash gets set