mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 11:51:36 +02:00
try to fix the e2e tests
This commit is contained in:
parent
b8a260bb84
commit
62c1798bec
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user