From e9bbf4d42bad08e98e58a39c82a08ab1f8ee31d2 Mon Sep 17 00:00:00 2001 From: "shuwen.wu" Date: Thu, 3 Sep 2026 16:09:07 +0800 Subject: [PATCH] fix(docs): add globalTimeout note to CI documentation Fixes #42533 Add a note explaining the relationship between GitHub Actions timeout-minutes and Playwright's globalTimeout config option. --- docs/src/ci.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/ci.md b/docs/src/ci.md index 9c2c2cac03cd3..4eb9ecd0de3f8 100644 --- a/docs/src/ci.md +++ b/docs/src/ci.md @@ -100,6 +100,10 @@ jobs: retention-days: 30 ``` +:::note +The `timeout-minutes` above is a hard kill, not a test failure. If your suite outgrows it, the runner stops the process mid-run, the job's conclusion is `cancelled`, and no report is written. Setting [`globalTimeout`](./test-timeouts-js.md) below it lets Playwright stop itself first, so an over-running suite fails with a full report instead. +::: + #### On push/pull_request * langs: python, java, csharp