update e2e tests for invite ux tweaks
parent
0221c4aebf
commit
6029f2a03b
|
@ -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 New Issue