mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
fix inviting someone
This commit is contained in:
parent
2bf51da73e
commit
ae5dc9d0b3
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const assert = require('assert');
|
|||
module.exports = async function invite(session, userId) {
|
||||
session.log.step(`invites "${userId}" to room`);
|
||||
await session.delay(1000);
|
||||
const inviteButton = await session.waitAndQuery(".mx_RightPanel_invite");
|
||||
const inviteButton = await session.waitAndQuery(".mx_MemberList_invite");
|
||||
await inviteButton.click();
|
||||
const inviteTextArea = await session.waitAndQuery(".mx_ChatInviteDialog textarea");
|
||||
await inviteTextArea.type(userId);
|
||||
|
|
Loading…
Reference in a new issue