mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
update e2e tests for invite ux tweaks
This commit is contained in:
parent
0221c4aebf
commit
6029f2a03b
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ async function createDm(session, invitees) {
|
|||
const startChatButton = await dmsSublist.$(".mx_RoomSublist_auxButton");
|
||||
await startChatButton.click();
|
||||
|
||||
const inviteesEditor = await session.query('.mx_InviteDialog_editor textarea');
|
||||
const inviteesEditor = await session.query('.mx_InviteDialog_editor input');
|
||||
for (const target of invitees) {
|
||||
await session.replaceInputText(inviteesEditor, target);
|
||||
await session.delay(1000); // give it a moment to figure out a suggestion
|
||||
|
|
|
@ -31,7 +31,7 @@ module.exports = async function invite(session, userId) {
|
|||
}
|
||||
const inviteButton = await session.query(".mx_MemberList_invite");
|
||||
await inviteButton.click();
|
||||
const inviteTextArea = await session.query(".mx_InviteDialog_editor textarea");
|
||||
const inviteTextArea = await session.query(".mx_InviteDialog_editor input");
|
||||
await inviteTextArea.type(userId);
|
||||
const selectUserItem = await session.query(".mx_InviteDialog_roomTile");
|
||||
await selectUserItem.click();
|
||||
|
|
Loading…
Reference in a new issue