diff --git a/src/usecases/create-room.js b/src/usecases/create-room.js index 132a4bd782..88547610f0 100644 --- a/src/usecases/create-room.js +++ b/src/usecases/create-room.js @@ -35,7 +35,7 @@ async function createRoom(session, roomName) { await addRoomButton.click(); - const roomNameInput = await session.query('.mx_CreateRoomDialog_input'); + const roomNameInput = await session.query('.mx_CreateRoomDialog_name input'); await session.replaceInputText(roomNameInput, roomName); const createButton = await session.query('.mx_Dialog_primary');