Key Features
Everything you need to go from a web page to running Playwright tests
Same input always produces the same output. No AI at compile time — Gherkin + YAML in, Playwright .spec.ts out.
AI explores your live page via MCP Playwright, generates test definitions, and auto-fixes failures up to 5 retries.
Write Gherkin scenarios anyone can read. QA reviews test cases, not code. 18 pattern shapes cover all interactions.
When tests fail, AI reads the error, fixes selectors or test data, recompiles, and retries automatically.
Built-in commands and skills for Claude Code and GitHub Copilot. Just type a slash command to start.
Capture SSO/login state with sungen makeauth. Tag scenarios with @auth:role for authenticated tests.
Why Sungen?
See the difference between traditional E2E testing and Sungen
- ✗Write Playwright code by handEvery selector, every assertion, every test — manual
- ✗Debug selectors manuallyInspect DOM, guess selectors, trial and error
- ✗QA needs coding skillsOnly developers can write and maintain tests
- ✓AI generates everythingExplores page, writes Gherkin + selectors + test data
- ✓Real selectors from live DOMAI maps accessibility roles and names automatically
- ✓QA reviews plain EnglishGherkin scenarios anyone can read and validate
AI-Powered Workflow
4 steps from project setup to passing tests — AI handles the heavy lifting
sungen initScaffolds project, installs Playwright, generates AI rules
/sungen:add-screenAI creates screen directory with empty templates
/sungen:make-tcAI explores page (or Figma/image), generates .feature + test-data
/sungen:make-testCompiles, runs tests, auto-fixes failures (up to 5x)
| Step | Claude Code | GitHub Copilot |
|---|---|---|
| Add Screen | /sungen:add-screen login /login | /sungen-add-screen login /login |
| Create Tests | /sungen:make-tc login | /sungen-make-tc login |
| Compile & Run | /sungen:make-test login | /sungen-make-test login |
How It Works
Gherkin + YAML in, Playwright tests out — deterministic compilation
Ready to automate your E2E tests?
Install Sungen, run one command, and let AI handle the rest.