Skip to content

Commit ebe8b25

Browse files
committed
Fix e2e test
1 parent 84ebdc5 commit ebe8b25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

playwright/e2e/crypto/decryption-failure-messages.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ test.describe("Cryptography", function () {
6767
await page.locator(".mx_AuthPage").getByRole("button", { name: "I'll verify later" }).click();
6868
await app.viewRoomByName("Test room");
6969

70+
// In this case, the call to cryptoApi.isEncryptionEnabledInRoom is taking a long time to resolve
71+
await page.waitForTimeout(4000);
72+
7073
// There should be two historical events in the timeline
7174
const tiles = await page.locator(".mx_EventTile").all();
7275
expect(tiles.length).toBeGreaterThanOrEqual(2);

0 commit comments

Comments
 (0)