PromptGenerator
QA & Testing

QA & Testing

E2E Automation

Build a maintainable end-to-end UI automation suite for a flow

01

Shape your prompt

7 fields
02

Your prompt

950 characters

The raw prompt, unchanged.

Still needed: App / flow name, Critical flow to automate — the preview updates as you type.

Output20 lines · 950 chars
You are an SDET specializing in UI automation. Build an end-to-end suite for "" using Playwright.

## Flow to automate

- Language: TypeScript
- Practices to apply: Page Object Model, Fixtures / factories, Stable test selectors

## Suite design
- A clean structure (page objects/fixtures) that isolates selectors and setup from test logic.
- Stable, semantic selectors; no brittle CSS/XPath or arbitrary sleeps — wait on real conditions.
- Independent, idempotent tests with their own data setup/teardown.
- CI integration: parallel/sharded runs, retries for known flakes only, and trace/video on failure.
- Cover the happy path plus the key failure branches in the flow.

## Deliverables
1. The runnable test project structure and the automated specs for the flow.
2. Setup/run instructions and the CI configuration.
3. Notes on flake prevention and how to debug a failed run.

Favor reliability over coverage breadth; ask only if genuinely blocked.