diff --git a/test/end-to-end-tests/src/usecases/create-room.js b/test/end-to-end-tests/src/usecases/create-room.js index e05edbc051..35b9d5879e 100644 --- a/test/end-to-end-tests/src/usecases/create-room.js +++ b/test/end-to-end-tests/src/usecases/create-room.js @@ -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 diff --git a/test/end-to-end-tests/src/usecases/invite.js b/test/end-to-end-tests/src/usecases/invite.js index 75ebc61a88..07c9595fe2 100644 --- a/test/end-to-end-tests/src/usecases/invite.js +++ b/test/end-to-end-tests/src/usecases/invite.js @@ -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();