From 72d7939afcc02f398f0987d68ecf94d6d5f1f6b6 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Mon, 17 Oct 2022 16:54:33 +0200 Subject: [PATCH] Disable stopping a voice broadcast recording by click on the tile (#9436) --- .../molecules/VoiceBroadcastRecordingBody.tsx | 6 +----- .../molecules/VoiceBroadcastRecordingBody-test.tsx | 12 ------------ 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingBody.tsx b/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingBody.tsx index 1c81e295c6..b9721170eb 100644 --- a/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingBody.tsx +++ b/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingBody.tsx @@ -24,14 +24,10 @@ export const VoiceBroadcastRecordingBody: React.FC +
{ it("should render the expected HTML", () => { expect(renderResult.container).toMatchSnapshot(); }); - - describe("and clicked", () => { - beforeEach(async () => { - await userEvent.click(renderResult.getByText("My room")); - }); - - it("should stop the recording", () => { - expect(recording.getState()).toBe(VoiceBroadcastInfoState.Stopped); - }); - }); }); describe("when rendering a non-live broadcast", () => {