From 132669fd28d6f40940efae87baabac4a912ae376 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 21 Jun 2024 10:18:09 +0100 Subject: [PATCH] Remove redundant sleep from playwright test (#12667) Nobody seems to know why this is here. Let's get rid of it and see what happens. --- playwright/e2e/crypto/verification.spec.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/playwright/e2e/crypto/verification.spec.ts b/playwright/e2e/crypto/verification.spec.ts index af30a78b01..126195a675 100644 --- a/playwright/e2e/crypto/verification.spec.ts +++ b/playwright/e2e/crypto/verification.spec.ts @@ -40,8 +40,6 @@ test.describe("Device verification", () => { // Visit the login page of the app, to load the matrix sdk await page.goto("/#/login"); - await page.pause(); - // wait for the page to load await page.waitForSelector(".mx_AuthPage", { timeout: 30000 }); @@ -54,8 +52,6 @@ test.describe("Device verification", () => { aliceBotClient.setCredentials(credentials); const mxClientHandle = await aliceBotClient.prepareClient(); - await page.waitForTimeout(20000); - expectedBackupVersion = await mxClientHandle.evaluate(async (mxClient) => { return await mxClient.getCrypto()!.getActiveSessionBackupVersion(); });