Select the right continue button

There's no buttons in the field.
pull/21833/head
Travis Ralston 2020-04-16 12:04:01 -06:00
parent 2432f77b72
commit 597f97e1d8
1 changed files with 2 additions and 2 deletions

View File

@ -84,13 +84,13 @@ module.exports = async function signup(session, username, password, homeserver)
const xsigningPassphrase = 'a7eaXcjpa9!Yl7#V^h$B^%dovHUVX'; // https://xkcd.com/221/ const xsigningPassphrase = 'a7eaXcjpa9!Yl7#V^h$B^%dovHUVX'; // https://xkcd.com/221/
let passphraseField = await session.query('.mx_CreateSecretStorageDialog_passPhraseField input'); let passphraseField = await session.query('.mx_CreateSecretStorageDialog_passPhraseField input');
await session.replaceInputText(passphraseField, xsigningPassphrase); await session.replaceInputText(passphraseField, xsigningPassphrase);
let xsignContButton = await session.query('.mx_CreateSecretStorageDialog_passPhraseContainer .mx_Dialog_primary'); let xsignContButton = await session.query('.mx_CreateSecretStorageDialog .mx_Dialog_buttons .mx_Dialog_primary');
await xsignContButton.click(); await xsignContButton.click();
//repeat passphrase entry //repeat passphrase entry
passphraseField = await session.query('.mx_CreateSecretStorageDialog_passPhraseField input'); passphraseField = await session.query('.mx_CreateSecretStorageDialog_passPhraseField input');
await session.replaceInputText(passphraseField, xsigningPassphrase); await session.replaceInputText(passphraseField, xsigningPassphrase);
xsignContButton = await session.query('.mx_CreateSecretStorageDialog_passPhraseContainer .mx_Dialog_primary'); xsignContButton = await session.query('.mx_CreateSecretStorageDialog .mx_Dialog_buttons .mx_Dialog_primary');
await xsignContButton.click(); await xsignContButton.click();
//ignore the recovery key //ignore the recovery key