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 <geigerzaehler@axiom.fm>
This commit is contained in:
Thomas Scholtes
2023-11-23 09:37:13 +01:00
committed by Rūdolfs Ošiņš
parent b979862b08
commit e172aac1af
+1 -1
View File
@@ -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",
},