From 131f8b39c36f81cf646eba7cdb8c18757ccaab54 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 22 Oct 2024 14:25:23 +0200 Subject: [PATCH] docs(vscode): outline more that global teardown needs to be executed manually (#33221) --- docs/src/getting-started-vscode-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/getting-started-vscode-js.md b/docs/src/getting-started-vscode-js.md index d8a2ccfcf3..03e29ff2e9 100644 --- a/docs/src/getting-started-vscode-js.md +++ b/docs/src/getting-started-vscode-js.md @@ -202,7 +202,7 @@ To run the **setup** test only once, deselect it from the projects section in th ## Global Setup -**Global setup** tests are run when you execute your first test. This runs only once and is useful for setting up a database or starting a server. You can manually run a **global setup** test by clicking the `Run global setup` option from the **Setup** section in the Playwright sidebar. You can also run **global teardown** tests by clicking the `Run global teardown` option. +**Global setup** runs when you execute your first test. It runs only once and is useful for setting up a database or starting a server. You can manually run **global setup** by clicking the `Run global setup` option from the **Setup** section in the Playwright sidebar. **Global teardown** does not run by default; you need to manually initiate it by clicking the `Run global teardown` option. Global setup will re-run when you debug tests as this ensures an isolated environment and dedicated setup for the test.