fix broken selector

pull/21833/head
Bruno Windels 2019-04-10 14:32:13 +02:00
parent b0fb36dbb2
commit be32414214
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = async function invite(session, userId) {
await session.delay(1000);
const inviteButton = await session.waitAndQuery(".mx_MemberList_invite");
await inviteButton.click();
const inviteTextArea = await session.waitAndQuery(".mx_ChatInviteDialog textarea");
const inviteTextArea = await session.waitAndQuery(".mx_AddressPickerDialog textarea");
await inviteTextArea.type(userId);
await inviteTextArea.press("Enter");
const confirmButton = await session.query(".mx_Dialog_primary");