How jimmytoan/qa-agent works
QA Agent is a natural-language browser E2E testing platform. Users organize products, suites, and tests, start individual or suite runs, watch SSE progress, and review run history and screenshot/GIF artifacts. The graph distinguishes authoring, execution, and review stages. Runtime wiring is supported by the sampled router, runner, and UI excerpts plus README architecture statements; several feature routes and pages were not sampled, so their links are limited to documented capabilities.
Main entry points: runner.py Browser run engine · main.py FastAPI application · App.tsx Web application · api.ts API client
Components 23
Test authoring
- Products
frontend/src/pages/ProductsPage.tsx - Suites and import
frontend/src/pages/SuitesPage.tsx - Excel import
frontend/src/components/ImportExcelDialog.tsx - Natural-language tests
frontend/src/pages/TestsPage.tsx - Product routes
backend/app/routers/products.py - Suite routes
backend/app/routers/suites.py - Test routes
backend/app/routers/tests.py
Run execution
- Suite-run orchestration
backend/app/routers/suite_runs.py - Run and SSE routes
backend/app/routers/runs.py - Browser run engine
backend/app/services/runner.py - Live run queues
backend/app/state.py
Run review
- Artifact capture
backend/app/services/artifacts.py - Screenshots and GIFs
backend/app/services/artifacts.py - Reports and history
frontend/src/pages/ReportsPage.tsx - Run detail viewer
frontend/src/components/RunDetailModal.tsx
Application platform
- Web application
frontend/src/App.tsx - API client
frontend/src/lib/api.ts - FastAPI application
backend/app/main.py - PostgreSQL
backend/app/database.py - Run and test records
backend/app/models.py
Other components
- QA user
- Browser-use agent
- LLM providers
Connections 32
- QA user → Web application: uses
frontend/src/App.tsx - Web application → Products: routes to
frontend/src/App.tsx - Web application → Suites and import: routes to
frontend/src/App.tsx - Web application → Natural-language tests: routes to
frontend/src/App.tsx - Web application → Reports and history: routes to
frontend/src/App.tsx - Suites and import → Excel import: opens
frontend/src/pages/SuitesPage.tsx - Products → API client: requests data
- Suites and import → API client: requests data
frontend/src/pages/SuitesPage.tsx - Natural-language tests → API client: creates tests
frontend/src/pages/TestsPage.tsx - Reports and history → API client: loads reports
frontend/src/pages/ReportsPage.tsx - API client → FastAPI application: REST and SSE
README.md - FastAPI application → Product routes: registers
backend/app/main.py - FastAPI application → Suite routes: registers
backend/app/main.py - FastAPI application → Test routes: registers
backend/app/main.py - FastAPI application → Run and SSE routes: registers
backend/app/main.py - FastAPI application → Suite-run orchestration: registers
backend/app/main.py - Product routes → PostgreSQL: queries
- Suite routes → PostgreSQL: queries
backend/app/routers/suites.py - Test routes → PostgreSQL: queries
backend/app/routers/tests.py - Test routes → Browser run engine: starts test run
backend/app/routers/tests.py - Suite-run orchestration → Browser run engine: starts suite run
- Run and SSE routes → Browser run engine: creates run
backend/app/routers/runs.py - Run and SSE routes → Live run queues: streams events
backend/app/routers/runs.py - Browser run engine → Live run queues: publishes events
backend/app/services/runner.py - Browser run engine → Browser-use agent: executes browser
README.md - Browser run engine → LLM providers: uses model
README.md - Browser run engine → Artifact capture: captures artifacts
backend/app/services/runner.py - Artifact capture → Screenshots and GIFs: writes files
backend/app/services/artifacts.py - Run and SSE routes → Screenshots and GIFs: serves artifacts
- Reports and history → Run detail viewer: opens details
frontend/src/pages/ReportsPage.tsx - Browser run engine → PostgreSQL: updates runs
backend/app/services/runner.py - PostgreSQL → Run and test records: stores records