From ae5dc9d0b37507706479211d217a6f7da4d3f4ab Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 2 Apr 2019 14:29:47 +0200 Subject: [PATCH] fix inviting someone --- src/usecases/invite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usecases/invite.js b/src/usecases/invite.js index 934beb6819..bbfc38cd23 100644 --- a/src/usecases/invite.js +++ b/src/usecases/invite.js @@ -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);