From 34a8977dd15689fc4919901f334a8622f2e4cce3 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 8 Sep 2025 15:24:46 +0200 Subject: [PATCH] Increase timeout to hopefully avoid test flakes --- src/room/GroupCallView.test.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/room/GroupCallView.test.tsx b/src/room/GroupCallView.test.tsx index a1aa9452..247f4461 100644 --- a/src/room/GroupCallView.test.tsx +++ b/src/room/GroupCallView.test.tsx @@ -269,5 +269,8 @@ test("user can reconnect after a membership manager error", async () => { rtcSession.emit(MatrixRTCSessionEvent.MembershipManagerError, undefined), ); await user.click(screen.getByRole("button", { name: "Reconnect" })); - await waitFor(() => screen.getByRole("button", { name: "Leave" })); + // In-call controls should be visible again + await waitFor(() => screen.getByRole("button", { name: "Leave" }), { + timeout: 3000, + }); });