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

Attempt to fix e2e tests
This commit is contained in:
Michael Telatynski
2020-01-06 23:58:51 +00:00
committed by GitHub

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();
}