🧠 Inspiration

Website testing is essential but often time-consuming and repetitive. Traditional QA processes require manual test writing and continuous maintenance. We wanted to simplify this process using AI, allowing developers to focus on building features while automation handles the testing. Our goal was to create a SaaS platform that makes intelligent test generation and execution accessible to everyone.

🚀 What it does

TestGenius is an AI-powered SaaS testing platform that:

  • Automatically analyzes any website's DOM structure
  • Uses Google Gemini AI to generate Playwright test scripts
  • Executes tests across browsers with Playwright
  • Captures screenshots and videos
  • Displays results on an interactive dashboard with detailed reports and failure analysis

It transforms test automation into a fully intelligent, no-code experience for developers and testers.

🛠️ How we built it

Frontend:

  • React 18 + TypeScript
  • Tailwind CSS for UI design
  • Vite for fast builds and development
  • Lucide Icons
  • Firebase SDK for auth and real-time database

Backend:

  • Node.js + Express for REST APIs
  • Playwright for browser automation
  • Cheerio for DOM parsing
  • Google Gemini API for intelligent test generation
  • Firebase Admin SDK for server-side user control

DevOps & Deployment:

  • Docker for containerization
  • Vercel for frontend deployment
  • Railway for backend deployment
  • Firebase Firestore for data storage
  • ESLint, Nodemon, and Concurrently for streamlined development

⚠️ Challenges we ran into

  • Fine-tuning Gemini prompts for accurate and testable scripts
  • Managing flaky Playwright test behavior on dynamic websites
  • Secure user authentication and real-time data handling
  • Handling cross-browser support smoothly
  • Troubleshooting CI/CD deployment bugs and environment config mismatches

🏆 Accomplishments that we're proud of

  • Achieved fully automated test generation from just a URL
  • Real-time Playwright execution with screenshots and reports
  • Clean, maintainable architecture that supports multi-platform deployment
  • Seamless Firebase user authentication and test history tracking
  • Built a production-grade AI SaaS product within the hackathon deadline

📚 What we learned

  • Leveraging LLMs (Gemini) for structured code generation
  • End-to-end testing automation using Playwright
  • Firebase ecosystem for auth and scalable data management
  • Cross-platform cloud deployment strategies
  • How to create developer-friendly SaaS tools with intuitive UX

🔮 What's next for TestGenius

  • GUI-based visual test editing
  • GitHub Actions + Slack integration for CI/CD alerts
  • Team-based dashboards and collaboration support
  • Scheduled test runs and reporting automation
  • Self-healing tests using AI when DOM changes
  • Mobile testing support via Appium and AI-based mobile test case generation

Built With

Share this project:

Updates