Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Remove redundant sleep from playwright test (#12667)
Browse files Browse the repository at this point in the history
Nobody seems to know why this is here. Let's get rid of it and see what
happens.
  • Loading branch information
richvdh authored Jun 21, 2024
1 parent 2d8c23e commit 132669f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions playwright/e2e/crypto/verification.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand All @@ -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();
});
Expand Down

0 comments on commit 132669f

Please sign in to comment.