sincecutoff.com
← all changes

Playwright test runner selects default projects with `testProject.default`

Introduced 2026-10-07 · score 0.99

HOW TO USE IT

When a project should stay configured but be skipped by a plain test run, set `default: false`; run it with `--project=<name>` or select all projects with `--project="*"`.

npx playwright test
npx playwright test --project=firefox
npx playwright test --project="*"

WHY THIS HELPS

Run a default browser project locally while retaining additional browser projects for explicit or CI runs.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.64.0
  • default: Boolean project option; defaults to `true`. Set `false` to skip the project when no `--project` option is passed.
  • --project <project-name...>: Selects projects by name; supports `*` wildcard. A project with `default: false` can be selected explicitly.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card