docs(vscode): outline more that global teardown needs to be executed manually
This commit is contained in:
parent
b275c19612
commit
b94fa53178
|
|
@ -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** 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. **Global teardown** tests do not run by default; you need to manually initiate them 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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue