Merge pull request #55 from matrix-org/jryans/hide-is-field-during-auth

Adjust tests for hidden IS field
pull/21833/head
J. Ryan Stinnett 2019-08-28 18:35:57 +01:00 committed by GitHub
commit a3abde5883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ module.exports = async function signup(session, username, password, homeserver)
await session.replaceInputText(hsInputField, homeserver);
const nextButton = await session.query('.mx_Login_submit');
await nextButton.click();
await session.query('.mx_ServerConfig_identityServer_shown');
await nextButton.click();
}
//fill out form
const usernameField = await session.query("#mx_RegistrationForm_username");