diff --git a/test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx b/test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx index 5c4fd1941a..0420a12217 100644 --- a/test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx +++ b/test/components/views/rooms/wysiwyg_composer/SendWysiwygComposer-test.tsx @@ -93,7 +93,7 @@ describe("SendWysiwygComposer", () => { customRender(jest.fn(), jest.fn(), false, true); // Then - expect(await screen.findByTestId("WysiwygComposer")).toBeInTheDocument(); + expect(await screen.findByTestId("WysiwygComposer", undefined, { timeout: 5000 })).toBeInTheDocument(); }); it("Should render PlainTextComposer when isRichTextEnabled is at false", async () => {