← All notes

Playwright projects group tests that share one configuration

Answer: A Playwright project is a logical group of tests that share one configuration. Projects live in playwright.config.ts. You can run every project, or only one of them.

Why projects exist

Use projects to run the same tests on different browsers and devices. You can also run one suite in more than one configuration, for example a logged-in state and a logged-out state. Timeouts and retries can differ by project.

The docs source file uses the id test-projects.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Playwright docs, Projects, Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation; microsoft/playwright (GitHub), Projects (Playwright source docs), Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Playwright docs, Projects, Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation; microsoft/playwright (GitHub), Projects (Playwright source docs), Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation.

Cite this

Permanent ID: iil:note:1xg5fem1

iinventedlight. 2026. "Playwright projects group tests that share one configuration." iinventedlight Library, iil:note:1xg5fem1, version of 2026-11-16. https://iinventedlight.com/library/notes/playwright-test-projects/. License: CC-BY-4.0.

@misc{iil_note_1xg5fem1,
  author = {{iinventedlight}},
  title = {{Playwright projects group tests that share one configuration}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/playwright-test-projects/},
  note = {Permanent ID iil:note:1xg5fem1. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/playwright-test-projects.md.