From e172aac1af65a97ee9e15c603538540ed02b7308 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Wed, 22 Nov 2023 11:45:02 +0100 Subject: [PATCH] Set Playwright action timeout for quicker failures When a Playwright action (like click) fails we want it to throw an error after 5 seconds instead of waiting 30 seconds for the test timeout. Signed-off-by: Thomas Scholtes --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 7dfcef835..94b741f05 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -16,7 +16,7 @@ const config: PlaywrightTestConfig = { reporter: "list", globalSetup: "./tests/support/globalSetup", use: { - actionTimeout: 0, + actionTimeout: 5000, baseURL: "http://localhost:3001", trace: "retain-on-failure", },