this dialog isn't shown anymore and this was accepting the SAS dialog

also lower timeout so we don't wait 5s if there is no dialog
This commit is contained in:
Bruno Windels 2019-04-03 14:31:31 +02:00
parent d63a0c5aea
commit e147cc9341
2 changed files with 2 additions and 5 deletions

View file

@ -34,8 +34,5 @@ module.exports = async function acceptInvite(session, name) {
const acceptInvitationLink = await session.waitAndQuery(".mx_RoomPreviewBar_join_text a:first-child");
await acceptInvitationLink.click();
// accept e2e warning dialog
acceptDialogMaybe(session, "encryption");
session.log.done();
}