From 62c1798bec06a5db2e7ddaaf2a8611bbb98a3aea Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Aug 2020 16:55:48 +0100 Subject: [PATCH] try to fix the e2e tests --- test/end-to-end-tests/src/usecases/create-room.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/end-to-end-tests/src/usecases/create-room.js b/test/end-to-end-tests/src/usecases/create-room.js index 26c54771ab..e05edbc051 100644 --- a/test/end-to-end-tests/src/usecases/create-room.js +++ b/test/end-to-end-tests/src/usecases/create-room.js @@ -39,6 +39,9 @@ async function createRoom(session, roomName, encrypted=false) { const addRoomButton = await roomsSublist.$(".mx_RoomSublist_auxButton"); await addRoomButton.click(); + const createRoomButton = await session.query('.mx_AccessibleButton[aria-label="Create new room"]'); + await createRoomButton.click(); + const roomNameInput = await session.query('.mx_CreateRoomDialog_name input'); await session.replaceInputText(roomNameInput, roomName);