How nitesh00747/promtdrivenautomation_javascript works
This repository demonstrates a prompt-driven Playwright workflow for planning, generating, and healing web-application tests, with SauceDemo as its example target. The principal flow runs from a human request through agent-authored plans and generated tests to suite execution and repair. The graph also preserves the documented shopping-journey coverage and duplicate-coverage manifest. Relationships are based on README statements and the sampled Playwright configuration; individual agent definitions and test implementations were not sampled.
Main entry points: tests Generated tests · playwright-test-generator.md Generator agent · playwright.config.js Playwright runner · playwright-test-planner.md Planner agent
Components 16
Agent workflow
- Planner agent
.claude/agents/playwright-test-planner.md - Generator agent
.claude/agents/playwright-test-generator.md - Healer agent
.claude/agents/playwright-test-healer.md - Playwright runner
playwright.config.js
Plans and tests
- Test plans
specs - Coverage manifest
specs/manifest.json - Generated tests
tests
Demo coverage
- Login cases
tests/login - Inventory cases
tests/inventory - Sorting cases
tests/sorting/product-sort.spec.ts - Product detail
tests/product-detail/product-detail.spec.ts - Cart cases
tests/cart - Checkout cases
tests/checkout/checkout-flow.spec.ts - Logout and reset
tests/menu
Other components
- Engineer
- SauceDemo app
Connections 21
- Engineer → Planner agent: requests plan
README.md - Planner agent → SauceDemo app: explores app
README.md - Planner agent → Test plans: writes plan
README.md - Engineer → Generator agent: requests tests
README.md - Generator agent → Test plans: reads plan
README.md - Generator agent → SauceDemo app: replays steps
README.md - Generator agent → Generated tests: writes tests
README.md - Engineer → Playwright runner: runs suite
README.md - Playwright runner → Generated tests: discovers tests
playwright.config.js - Playwright runner → SauceDemo app: targets app
playwright.config.js - Engineer → Healer agent: requests repair
README.md - Healer agent → Playwright runner: runs suite
README.md - Healer agent → Generated tests: repairs tests
README.md - Generated tests → Coverage manifest: indexed by
README.md - Generated tests → Login cases: covers
README.md - Generated tests → Inventory cases: covers
README.md - Generated tests → Sorting cases: covers
README.md - Generated tests → Product detail: covers
README.md - Generated tests → Cart cases: covers
README.md - Generated tests → Checkout cases: covers
README.md - Generated tests → Logout and reset: covers
README.md