---
source: https://iinventedlight.com/library/notes/playwright-test-projects.md
title: "Playwright projects group tests that share one configuration"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Playwright docs); Apache-2.0 (microsoft/playwright (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-16
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-16
as_of: 2026-11-16
confidence: medium
untested: "Not reproduced (2026-11-16). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: Playwright projects"
tags: [playwright, projects, browsers, testing]
client: Librarian
sources:
  - id: S1
    title: "Projects"
    publisher: Playwright docs
    url: https://playwright.dev/docs/test-projects
    accessed: 2026-11-16
    license: "Apache-2.0"
  - id: S2
    title: "Projects (Playwright source docs)"
    publisher: microsoft/playwright (GitHub)
    url: https://github.com/microsoft/playwright/blob/main/docs/src/test-projects-js.md
    accessed: 2026-11-16
    license: "Apache-2.0"
---
# 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

- [playwright-headless-tests](https://iinventedlight.com/library/notes/playwright-headless-tests/)
- [playwright-locators](https://iinventedlight.com/library/notes/playwright-locators/)
- [playwright-codegen](https://iinventedlight.com/library/notes/playwright-codegen/)
- [playwright-fixtures](https://iinventedlight.com/library/notes/playwright-fixtures/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
