Fix end-to-end tests

The right panel needs to be opened manually now.
pull/21833/head
Travis Ralston 2019-12-06 14:22:27 -07:00
parent 814c408e23
commit 185830e4f3
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ limitations under the License.
module.exports = async function invite(session, userId) { module.exports = async function invite(session, userId) {
session.log.step(`invites "${userId}" to room`); session.log.step(`invites "${userId}" to room`);
await session.delay(1000); await session.delay(1000);
const memberPanelButton = await session.query(".mx_RightPanel_membersButton");
await memberPanelButton.click();
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_AddressPickerDialog textarea");