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**