How mukesh-50/demorepo001 works
This repository generates Playwright tests from manual cases, observes the target page, and iterates on failures before offering commit and push prompts. The framework workflow is the main runtime path; the README also documents a single-file equivalent and GitHub Actions test runs after pushes. Some capabilities are documented but their implementation excerpts were not provided, so those links cite the README rather than implying source inspection.
Main entry points: graph.py Workflow graph · ai.py Test generation and repair · runner.py Save and run tests · main.py Workflow entry
Components 20
Entry and settings
- Workflow entry
main.py - Settings
config.py
Generation workflow
- Workflow graph
workflow/graph.py - Workflow state
workflow/state.py - Branch decisions
workflow/decisions.py - Case reader
workflow/nodes/test_case.py - Page inspection
workflow/nodes/browser.py - Test generation and repair
workflow/nodes/ai.py - AI prompts
workflow/prompts.py - Save and run tests
workflow/nodes/runner.py - Single-file workflow
v1_single_file.py
Test artifacts
- Manual cases
test_cases - Generated tests
tests
Git and CI
- Human and Git operations
workflow/nodes/git_ops.py - Push test workflow
.github/workflows/main.yml
Other components
- Engineer
- Target website
- OpenAI model
- Playwright runner
- Git remote
Connections 26
- Engineer → Workflow entry: starts
README.md - Manual cases → Workflow entry: discovers
main.py - Workflow entry → Settings: reads settings
main.py - Workflow entry → Workflow graph: invokes
main.py - Workflow graph → Workflow state: uses state
workflow/graph.py - Workflow graph → Branch decisions: routes through
workflow/graph.py - Workflow graph → Case reader: dispatches
workflow/graph.py - Workflow graph → Page inspection: dispatches
workflow/graph.py - Workflow graph → Test generation and repair: dispatches
workflow/graph.py - Workflow graph → Save and run tests: dispatches
workflow/graph.py - Workflow graph → Human and Git operations: dispatches
workflow/graph.py - Case reader → Page inspection: then inspects
- Page inspection → Target website: reads page
workflow/nodes/browser.py - Page inspection → Test generation and repair: provides snapshot
README.md - Test generation and repair → AI prompts: builds prompts
workflow/nodes/ai.py - Test generation and repair → OpenAI model: requests generation
workflow/nodes/ai.py - Test generation and repair → Save and run tests: provides test code
README.md - Save and run tests → Generated tests: writes
workflow/nodes/runner.py - Save and run tests → Playwright runner: runs tests
workflow/nodes/runner.py - Save and run tests → Test generation and repair: failure feedback
README.md - Engineer → Human and Git operations: answers prompts
README.md - Human and Git operations → Generated tests: commits
workflow/nodes/git_ops.py - Human and Git operations → Git remote: pushes
workflow/nodes/git_ops.py - Git remote → Push test workflow: triggers tests
README.md - Single-file workflow → Manual cases: uses same cases
README.md - Single-file workflow → Generated tests: produces tests
README.md