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
- id: C1 claim: A project is a logical group of tests with the same configuration. source: S1 evidence: "A project is logical group of tests running with the same configuration."
- id: C2 claim: Projects are configured in playwright.config.ts. source: S1 evidence: "Projects are configured in the"
- id: C3 claim: You can run all projects or only a specific project. source: S2 evidence: "run your tests on all projects or only on a specific project."
- id: C4 claim: The source docs file id is test-projects. source: S2 evidence: "id: test-projects"
Sources
- [S1] Projects. Playwright docs. https://playwright.dev/docs/test-projects . License: Apache-2.0. Accessed 2026-11-16.
- [S2] Projects (Playwright source docs). microsoft/playwright (GitHub). https://github.com/microsoft/playwright/blob/main/docs/src/test-projects-js.md . License: Apache-2.0. Accessed 2026-11-16.
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
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.},
}
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.