mirror of https://github.com/vector-im/riot-web
increase timeout for server notices room
parent
42c1b95b7c
commit
0d86b82e3a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue