From 432dbab8cb978ececb3071c185208e24efc54960 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 17 Apr 2020 15:06:59 -0600 Subject: [PATCH] Fix start chat button variable name --- test/end-to-end-tests/src/usecases/create-room.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c40cbba096..7e219fd159 100644 --- a/test/end-to-end-tests/src/usecases/create-room.js +++ b/test/end-to-end-tests/src/usecases/create-room.js @@ -58,8 +58,8 @@ async function createDm(session, invitees) { throw new Error("could not find room list section that contains 'direct messages' in header"); } const dmsHeader = roomListHeaders[dmsIndex]; - const addRoomButton = await dmsHeader.$(".mx_RoomSubList_addRoom"); - await addRoomButton.click(); + const startChatButton = await dmsHeader.$(".mx_RoomSubList_addRoom"); + await startChatButton.click(); const inviteesEditor = await session.query('.mx_InviteDialog_editor textarea'); for (const target of invitees) {