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.
This commit is contained in:
parent
2d8c23e806
commit
132669fd28
1 changed files with 0 additions and 4 deletions
|
@ -40,8 +40,6 @@ test.describe("Device verification", () => {
|
||||||
// Visit the login page of the app, to load the matrix sdk
|
// Visit the login page of the app, to load the matrix sdk
|
||||||
await page.goto("/#/login");
|
await page.goto("/#/login");
|
||||||
|
|
||||||
await page.pause();
|
|
||||||
|
|
||||||
// wait for the page to load
|
// wait for the page to load
|
||||||
await page.waitForSelector(".mx_AuthPage", { timeout: 30000 });
|
await page.waitForSelector(".mx_AuthPage", { timeout: 30000 });
|
||||||
|
|
||||||
|
@ -54,8 +52,6 @@ test.describe("Device verification", () => {
|
||||||
aliceBotClient.setCredentials(credentials);
|
aliceBotClient.setCredentials(credentials);
|
||||||
const mxClientHandle = await aliceBotClient.prepareClient();
|
const mxClientHandle = await aliceBotClient.prepareClient();
|
||||||
|
|
||||||
await page.waitForTimeout(20000);
|
|
||||||
|
|
||||||
expectedBackupVersion = await mxClientHandle.evaluate(async (mxClient) => {
|
expectedBackupVersion = await mxClientHandle.evaluate(async (mxClient) => {
|
||||||
return await mxClient.getCrypto()!.getActiveSessionBackupVersion();
|
return await mxClient.getCrypto()!.getActiveSessionBackupVersion();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue