fix inviting someone

pull/21833/head
Bruno Windels 2019-04-02 14:29:47 +02:00
parent 2bf51da73e
commit ae5dc9d0b3
1 changed files with 1 additions and 1 deletions

View File

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