microsoft / microsoft/playwright

[Feature]: Add a plain quick start CLI/template setup for the new Playwright component testing

Open
#42,084 4 comments 4 reactions 0 assignees View on GitHub
P3-collecting-feedback
Dominant language
TypeScript
Stars
96.3k
Forks
6.5k
Avg merge
1d 6h
Merged PRs (30d)
180

Description

### 🚀 Feature Request

Agents are cool and all, but sometimes a deterministic simple quick start CLI and some manual configuration and control is nice, it would be nice to have a simple CLI to bootstrap the basic files needed for the new Playwright CT.

### Example

`pnpm playwright setup-ct`

### Motivation

It's still nice to have manual templates and to be able to configure things directly instead of always relying on agents. Being able to do so also helps to reason better about the setup and be able to instruct the agent to correct or adjust things so they work optimally in more complex projects.

P.S. If the tech debt is ever prioritized on my companies side I will probably want to have an agent do the migration of our old experimental-ct tests to the new setup, I haven't tried how well the current agent skill works with that.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the existing Playwright CLI setup flow and the current agent-based setup for component testing. Define the files and configuration that `pnpm playwright setup-ct` must generate, then verify that a fresh project can use the generated setup without agent assistance.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.