From 7b91d2056b2098e7a12e574a8495503d23570c15 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 6 Jan 2020 23:50:42 +0000 Subject: [PATCH] Attempt to fix e2e tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- test/end-to-end-tests/src/usecases/room-settings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/end-to-end-tests/src/usecases/room-settings.js b/test/end-to-end-tests/src/usecases/room-settings.js index 5b425f14b7..8e9e267d45 100644 --- a/test/end-to-end-tests/src/usecases/room-settings.js +++ b/test/end-to-end-tests/src/usecases/room-settings.js @@ -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(); }