Increase timeout on wysiwig test (#33540)
To hopefully make it not flake
This commit is contained in:
+4
-1
@@ -74,7 +74,10 @@ describe("WysiwygComposer", () => {
|
|||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
mockPlatformPeg({ overrideBrowserShortcuts: jest.fn().mockReturnValue(false) });
|
mockPlatformPeg({ overrideBrowserShortcuts: jest.fn().mockReturnValue(false) });
|
||||||
customRender(onChange, onSend);
|
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(() => {
|
afterEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user