Increase timeout on wysiwig test (#33540)

To hopefully make it not flake
This commit is contained in:
David Baker
2026-05-20 11:54:59 +01:00
committed by GitHub
parent 4b6e0b7ebf
commit b5aa339243
@@ -74,7 +74,10 @@ describe("WysiwygComposer", () => {
beforeEach(async () => {
mockPlatformPeg({ overrideBrowserShortcuts: jest.fn().mockReturnValue(false) });
customRender(onChange, onSend);
await waitFor(() => expect(screen.getByRole("textbox")).toHaveAttribute("contentEditable", "true"));
await waitFor(() => expect(screen.getByRole("textbox")).toHaveAttribute("contentEditable", "true"), {
// The standard timeout sometimes isn't enough for the async wasm init
timeout: 5000,
});
});
afterEach(() => {