From 2a48f77e42f71283640f4b1f2734c7daf47ac909 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 15 Apr 2024 15:30:00 -0700 Subject: [PATCH] Update docs --- docs/src/test-api/class-testconfig.md | 2 +- packages/playwright/types/test.d.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index 0df43c6d0a..a89236cbf0 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -148,7 +148,7 @@ export default defineConfig({ * since: v1.10 - type: ?<[int]> -Maximum time in milliseconds the whole test suite can run. Zero timeout (default) disables this behavior. Useful on CI to prevent broken setup from running too long and wasting resources. Learn more about [various timeouts](../test-timeouts.md). +Maximum time in milliseconds the whole test suite can run. Zero timeout (default) disables this behavior. Useful on CI to prevent broken setup from running too long and wasting resources. Note that even if global timeout is reached, Playwright will still allow up to 30 extra seconds for teardown hooks to finish. Learn more about [various timeouts](../test-timeouts.md). **Usage** diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index 7883711476..fe74d00184 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -1060,7 +1060,8 @@ interface TestConfig { /** * Maximum time in milliseconds the whole test suite can run. Zero timeout (default) disables this behavior. Useful on - * CI to prevent broken setup from running too long and wasting resources. Learn more about + * CI to prevent broken setup from running too long and wasting resources. Note that even if global timeout is + * reached, Playwright will still allow up to 30 extra seconds for teardown hooks to finish. Learn more about * [various timeouts](https://playwright.dev/docs/test-timeouts). * * **Usage**