You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
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:
committed by
GitHub
parent
2d8c23e806
commit
132669fd28
@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user