How niran312/ai-qa-engineer-platform works
This is an AI-assisted web QA platform: a user submits a site and optional credentials or module scope, the backend crawls pages and explores behavior, then generates test cases and an Excel export for review. The frontend presents scan history, progress, the discovered application map, and test cases. The backend combines a static crawler with MCP behavioral exploration and a Playwright Core fallback, using SQLite for scan state and an optional OpenRouter model. The README is empty; edges reflect shown calls or SOURCE INDEX references, and unsampled implementation details are not inferred.
Main entry points: main.py Scan API · App.jsx Scan workspace · crawler.py Static crawler · mcp_explorer.py Behavior explorer
Components 20
Scan interface
- Scan workspace
frontend/src/App.jsx - Scan dashboard
frontend/src/components/Dashboard.jsx - Scan history
frontend/src/components/HistoryList.jsx - Crawler map
frontend/src/components/CrawlerMap.jsx - Test case table
frontend/src/components/TestCaseTable.jsx - Prompt library
frontend/src/constants/prompts.js
Scan orchestration
- API client
frontend/src/api.js - Scan API
backend/app/main.py - Scan contracts
backend/app/schemas.py - Runtime configuration
backend/app/config.py - Scan database
backend/app/database.py
Site discovery
- Static crawler
backend/app/crawler.py - Behavior explorer
backend/app/mcp_explorer.py - Playwright MCP client
backend/app/mcp/playwright_client.py - Playwright fallback
backend/app/playwright_core_engine.py
Test generation
- Case and export generator
backend/app/generator.py - OpenRouter adapter
backend/app/ai_provider.py
Other components
- QA user
- Target website
- OpenRouter
Connections 27
- QA user → Scan workspace: submits scan
frontend/src/App.jsx - Scan workspace → Scan dashboard: renders
frontend/src/App.jsx - Scan workspace → Scan history: renders
frontend/src/App.jsx - Scan workspace → Crawler map: renders
frontend/src/App.jsx - Scan workspace → Test case table: renders
frontend/src/App.jsx - Scan dashboard → Prompt library: uses prompts
frontend/src/components/Dashboard.jsx - Test case table → API client: requests data
frontend/src/components/TestCaseTable.jsx - Scan workspace → API client: sends requests
frontend/src/App.jsx - API client → Scan API: calls API
frontend/src/api.js - Scan API → Scan contracts: validates requests
backend/app/main.py - Scan API → Static crawler: starts crawl
backend/app/main.py - Scan API → Behavior explorer: starts exploration
backend/app/main.py - Scan API → Case and export generator: generates cases
backend/app/main.py - Scan API → Scan database: reads and writes
backend/app/main.py - Static crawler → Scan database: records progress
backend/app/crawler.py - Static crawler → OpenRouter adapter: requests selectors
backend/app/crawler.py - Behavior explorer → Playwright MCP client: uses browser tools
backend/app/mcp_explorer.py - Behavior explorer → Playwright fallback: dispatches fallback
backend/app/mcp_explorer.py - Behavior explorer → OpenRouter adapter: requests analysis
backend/app/mcp_explorer.py - Case and export generator → OpenRouter adapter: requests generation
backend/app/generator.py - Case and export generator → Scan database: records progress
backend/app/generator.py - Static crawler → Target website: crawls pages
backend/app/crawler.py - Playwright MCP client → Target website: drives browser
- OpenRouter adapter → OpenRouter: sends prompts
backend/app/ai_provider.py - Static crawler → Runtime configuration: reads settings
backend/app/crawler.py - Behavior explorer → Runtime configuration: reads settings
backend/app/mcp_explorer.py - Scan API → Runtime configuration: reads settings
backend/app/main.py