From 554fc7719c77aa9354fbec8a85f8fa092002f96b Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Mon, 10 Feb 2025 06:32:10 -0800 Subject: [PATCH] Use proper test timeout --- tests/playwright-test/config.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/config.spec.ts b/tests/playwright-test/config.spec.ts index de46cc0888..518bf33839 100644 --- a/tests/playwright-test/config.spec.ts +++ b/tests/playwright-test/config.spec.ts @@ -329,7 +329,7 @@ test('should print nice error when project is unknown', async ({ runInlineTest } test('should print nice error when project is unknown and launching UI mode', async ({ runInlineTest }) => { // Prevent UI mode from opening and the test never finishing - setTimeout(() => expect(false).toBeTruthy(), 30000); + test.setTimeout(5000); const { output, exitCode } = await runInlineTest({ 'playwright.config.ts': ` module.exports = { projects: [