mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-28 22:11:41 +01:00
Fix start chat button variable name
This commit is contained in:
parent
77df610653
commit
432dbab8cb
@ -58,8 +58,8 @@ async function createDm(session, invitees) {
|
|||||||
throw new Error("could not find room list section that contains 'direct messages' in header");
|
throw new Error("could not find room list section that contains 'direct messages' in header");
|
||||||
}
|
}
|
||||||
const dmsHeader = roomListHeaders[dmsIndex];
|
const dmsHeader = roomListHeaders[dmsIndex];
|
||||||
const addRoomButton = await dmsHeader.$(".mx_RoomSubList_addRoom");
|
const startChatButton = await dmsHeader.$(".mx_RoomSubList_addRoom");
|
||||||
await addRoomButton.click();
|
await startChatButton.click();
|
||||||
|
|
||||||
const inviteesEditor = await session.query('.mx_InviteDialog_editor textarea');
|
const inviteesEditor = await session.query('.mx_InviteDialog_editor textarea');
|
||||||
for (const target of invitees) {
|
for (const target of invitees) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user