try to fix the e2e tests

This commit is contained in:
Michael Telatynski 2020-08-13 16:55:48 +01:00
parent b8a260bb84
commit 62c1798bec

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