From e86b0cf0cefe132f74eda8d768eb6aea35e6c8b1 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 31 Mar 2023 11:10:13 -0700 Subject: [PATCH] docs: discourage test lists (#22125) Fixes https://github.com/microsoft/playwright/issues/22109 --- docs/src/test-parallel-js.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/test-parallel-js.md b/docs/src/test-parallel-js.md index 1b73a9837c..8f705baac4 100644 --- a/docs/src/test-parallel-js.md +++ b/docs/src/test-parallel-js.md @@ -175,6 +175,10 @@ When you **disable parallel test execution**, Playwright Test runs test files in ### Use a "test list" file +:::warning +Tests lists are discouraged and supported as a best-effort only. Some fetures such as VS Code Extension and tracing may not work properly with test lists. +::: + You can put your tests in helper functions in multiple files. Consider the following example where tests are not defined directly in the file, but rather in a wrapper function. ```js