List available tests
list-testsList Playwright tests with file, line, title, and project details, plus optional filters. If Playwright fails, scan source files and report why.
Instructions
List the Playwright tests available in the project (file, line, full title, projects), with optional filtering. Uses playwright test --list when Playwright works and falls back to a source scan when the install or config is broken, reporting why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max tests to return (default 500) | |
| config | No | playwright.config path or 1-based index when the project has several configs | |
| filter | No | Case-insensitive substring filter on "file › title" | |
| testDir | No | Restrict scanning to this directory (inside the project) | |
| projectRoot | No | Project directory; defaults to the server working directory |