mirror of https://github.com/vector-im/riot-web
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");
|
const inviteButton = await session.query(".mx_MemberList_invite");
|
||||||
await inviteButton.click();
|
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.type(userId);
|
||||||
await inviteTextArea.press("Enter");
|
const selectUserItem = await session.query(".mx_InviteDialog_roomTile");
|
||||||
const confirmButton = await session.query(".mx_Dialog_primary");
|
await selectUserItem.click();
|
||||||
|
const confirmButton = await session.query(".mx_InviteDialog_goButton");
|
||||||
await confirmButton.click();
|
await confirmButton.click();
|
||||||
session.log.done();
|
session.log.done();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue