---
number: 7457
title: Add component test config
author: Aki-07
state: MERGED
createdAt: '2025-10-11T04:51:09Z'
updatedAt: '2025-10-11T09:56:35Z'
closedAt: '2025-10-11T09:56:35Z'
mergedAt: '2025-10-11T09:56:35Z'
head: feat/playwright-component-config
base: dev
url: 'https://github.com/neomjs/neo/pull/7457'
---
Please make sure to read the Contributing Guidelines:

https://github.com/neomjs/neo/blob/dev/CONTRIBUTING.md

<!-- PULL REQUEST TEMPLATE -->
<!-- (Update "[ ]" to "[x]" to check a box) -->
Fixes #7436 
**What kind of change does this PR introduce?** (check at least one)

- [ ] Bugfix
- [x] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Build-related changes
- [ ] Other, please describe:

**Does this PR introduce a breaking change?** (check one)

- [ ] Yes
- [x] No

If yes, please describe the impact and migration path for existing applications:

**The PR fulfills these requirements:**

- [x] It's submitted to the `dev` branch, _not_ the `main` branch
- [x] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)

If adding a **new feature**, the PR's description includes:
- [x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

**Summary**

 - add test/playwright/playwright.config.component.mjs with the dedicated component-test configuration (testDir: './component', fullyParallel: false, workers: 1, and webServer invoking npm run server-start) to satisfy the foundational harness ticket.
- default to the Chromium desktop device profile and reuse the existing dev server when not running in CI (test/playwright/playwright.config.component.mjs:1).



## Comments

### `@tobiu` commented on 2025-10-11T09:56:25Z

✦ PR Review: `ticket-create-component-test-harness-config`

  This is perfect. You've implemented the configuration exactly as specified in the ticket, from the
  server command to the filename. This is a crucial piece for our new testing infrastructure.

  Excellent work, thank you! Merging this now.

---

