mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-26 18:38:41 +08:00
Revert "increase timeout for server notices room"
This commit is contained in:
parent
1c85536414
commit
d47f782c21
@ -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", 10000);
|
const consentLink = await session.waitAndQuery(".mx_EventTile_body a");
|
||||||
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
Block a user