Merge pull request #3811 from matrix-org/t3chguy/fix_e2e_tests

Attempt to fix e2e tests
pull/21833/head
Michael Telatynski 2020-01-06 23:58:51 +00:00 committed by GitHub
commit 6ba5dc61e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ module.exports = async function changeRoomSettings(session, settings) {
await session.replaceInputText(aliasField, settings.alias.substring(1, settings.alias.lastIndexOf(":")));
const addButton = await session.query(".mx_RoomSettingsDialog .mx_AliasSettings .mx_AccessibleButton");
await addButton.click();
await session.delay(10); // delay to give time for the validator to run and check the alias
session.log.done();
}