test: increase timeout of flaky wysiwyg composer (#32794)

This commit is contained in:
Florian Duros
2026-03-13 11:20:54 +01:00
committed by GitHub
parent 8fe2e72245
commit 635b0e6fe2
@@ -55,7 +55,9 @@ describe("EditWysiwygComposer", () => {
it("Should not render the component when not ready", async () => {
// When
const { rerender } = customRender(false);
await waitFor(() => expect(screen.getByRole("textbox")).toHaveAttribute("contentEditable", "true"));
await waitFor(() => expect(screen.getByRole("textbox")).toHaveAttribute("contentEditable", "true"), {
timeout: 2000,
});
rerender(
<MatrixClientContext.Provider value={mockClient}>