From 0d86b82e3ae19729e72c0a9b0196a8b761cd1949 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 18 Sep 2018 11:13:02 +0200 Subject: [PATCH] increase timeout for server notices room --- src/usecases/server-notices-consent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usecases/server-notices-consent.js b/src/usecases/server-notices-consent.js index 25c3bb3bd5..eb42dcdaf7 100644 --- a/src/usecases/server-notices-consent.js +++ b/src/usecases/server-notices-consent.js @@ -19,7 +19,7 @@ const acceptInvite = require("./accept-invite") module.exports = async function acceptServerNoticesInviteAndConsent(session) { await acceptInvite(session, "Server Notices"); session.log.step(`accepts terms & conditions`); - const consentLink = await session.waitAndQuery(".mx_EventTile_body a"); + const consentLink = await session.waitAndQuery(".mx_EventTile_body a", 10000); const termsPagePromise = session.waitForNewPage(); await consentLink.click(); const termsPage = await termsPagePromise;