From e98c50a669060f7dafc4088dc548b4c3e08fd37e Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Thu, 4 May 2023 09:41:39 +0100 Subject: [PATCH] Increase timeouts in tests to try and reduce flakiness --- test/launch-test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/launch-test.ts b/test/launch-test.ts index 1734130..1a20d69 100644 --- a/test/launch-test.ts +++ b/test/launch-test.ts @@ -48,19 +48,19 @@ describe("App launch", () => { }, }); window = await app.firstWindow(); - }, 30000); + }, 60000); afterAll(async () => { await app?.close().catch((e) => { console.error(e); }); fs.rmSync(tmpDir, { recursive: true }); - }, 30000); + }, 60000); it("should launch and render the welcome view successfully", async () => { await window.locator("#matrixchat").waitFor(); await window.locator(".mx_Welcome").waitFor(); await expect(window).toMatchURL("vector://vector/webapp/#/welcome"); await window.screenshot({ path: path.join(artifactsPath, "welcome.png") }); - }, 30000); + }, 60000); });