Reduced abusive timeout in e2e test

This commit is contained in:
Florian Duros 2024-11-26 17:38:17 +01:00
parent 8d01c23309
commit 69c9746b48
No known key found for this signature in database
GPG key ID: A5BBB4041B493F15

View file

@ -68,7 +68,7 @@ test.describe("Cryptography", function () {
await app.viewRoomByName("Test room");
// In this case, the call to cryptoApi.isEncryptionEnabledInRoom is taking a long time to resolve
await page.waitForTimeout(4000);
await page.waitForTimeout(1000);
// There should be two historical events in the timeline
const tiles = await page.locator(".mx_EventTile").all();