docs(vscode): outline more that global teardown needs to be executed manually (#33221)

This commit is contained in:
Max Schmitt 2024-10-22 14:25:23 +02:00 коммит произвёл GitHub
Родитель ef84051c91
Коммит 131f8b39c3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.