remove specific timeout for selectors
as these are not hard sleeps, but timeouts, its better to put them a bit larger, as in the best case they'll return quickly anyway and in the worst case where they need a lot of time it's still better if the tests don't fail
This commit is contained in:
parent
fd67ace078
commit
f49b85897d
4 changed files with 6 additions and 6 deletions
|
@ -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", 1000);
|
||||
const consentLink = await session.waitAndQuery(".mx_EventTile_body a");
|
||||
const termsPagePromise = session.waitForNewPage();
|
||||
await consentLink.click();
|
||||
const termsPage = await termsPagePromise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue