try to fix the e2e tests

pull/21833/head
Michael Telatynski 2020-08-13 16:55:48 +01:00
parent b8a260bb84
commit 62c1798bec
1 changed files with 3 additions and 0 deletions

View File

@ -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);