Merge pull request #24 from matrix-org/bwindels/increaseservernoticetimeout
increase timeout for server notices roompull/21833/head
commit
d1d886508b
|
@ -19,7 +19,7 @@ const acceptInvite = require("./accept-invite")
|
||||||
module.exports = async function acceptServerNoticesInviteAndConsent(session) {
|
module.exports = async function acceptServerNoticesInviteAndConsent(session) {
|
||||||
await acceptInvite(session, "Server Notices");
|
await acceptInvite(session, "Server Notices");
|
||||||
session.log.step(`accepts terms & conditions`);
|
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();
|
const termsPagePromise = session.waitForNewPage();
|
||||||
await consentLink.click();
|
await consentLink.click();
|
||||||
const termsPage = await termsPagePromise;
|
const termsPage = await termsPagePromise;
|
||||||
|
|
Loading…
Reference in New Issue