From 943a0f8636d28d1d343eb0f609a0015fb04afb04 Mon Sep 17 00:00:00 2001 From: Kunall Banerjee <14703164+yeskunall@users.noreply.github.com> Date: Fri, 21 Mar 2025 11:21:54 -0400 Subject: [PATCH] docs: fix minor typo in docs for global setup/teardown (#35311) --- docs/src/test-global-setup-teardown-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/test-global-setup-teardown-js.md b/docs/src/test-global-setup-teardown-js.md index 42c450eaba..a004ad33c3 100644 --- a/docs/src/test-global-setup-teardown-js.md +++ b/docs/src/test-global-setup-teardown-js.md @@ -138,7 +138,7 @@ Similarly, use `globalTeardown` to run something once after all the tests. Alter Beware of `globalSetup` and `globalTeardown` caveats: - These methods will not produce traces or artifacts unless explictly enabled, as described in [Capturing trace of failures during global setup](#capturing-trace-of-failures-during-global-setup). -- Options sush as `headless` or `testIdAttribute` specified in the config file are not applied, +- Options such as `headless` or `testIdAttribute` specified in the config file are not applied. - An uncaught exception thrown in `globalSetup` will prevent Playwright from running tests, and no test results will appear in reporters. Consider using [project dependencies](#option-1-project-dependencies) to produce traces, artifacts, respect config options and get test results in reporters even in case of a setup failure.