Increase timeout to hopefully avoid test flakes

This commit is contained in:
Robin
2025-09-08 15:24:46 +02:00
parent db04cbfbfc
commit 34a8977dd1

View File

@@ -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,
});
});