Try and fix e2e tests for new invite dialog
parent
3541ef2889
commit
65450e893c
|
@ -31,10 +31,11 @@ module.exports = async function invite(session, userId) {
|
|||
}
|
||||
const inviteButton = await session.query(".mx_MemberList_invite");
|
||||
await inviteButton.click();
|
||||
const inviteTextArea = await session.query(".mx_AddressPickerDialog textarea");
|
||||
const inviteTextArea = await session.query(".mx_InviteDialog_editor textarea");
|
||||
await inviteTextArea.type(userId);
|
||||
await inviteTextArea.press("Enter");
|
||||
const confirmButton = await session.query(".mx_Dialog_primary");
|
||||
const selectUserItem = await session.query(".mx_InviteDialog_roomTile");
|
||||
await selectUserItem.click();
|
||||
const confirmButton = await session.query(".mx_InviteDialog_goButton");
|
||||
await confirmButton.click();
|
||||
session.log.done();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue