A web-based system for automated browser tests using Gherkin syntax and an open-source browser-use agent.
The AI QA Engineer is a web-based system designed to streamline the creation, management, and execution of automated browser tests. It leverages an existing open-source browser-use agent and provides a user-friendly interface for test management, allowing QA engineers to write test cases in Gherkin syntax (Given-When-Then format) and organize them into test suites.
The system follows a modern, microservices-oriented architecture with clear separation of concerns:
- Frontend: Next.js with Tailwind CSS
- Backend: FastAPI (Python)
- Database: MongoDB
- Browser Automation: Open-source browser-use agent
- Containerization: Docker
For more details, see the system architecture documentation.
- Node.js (v18+)
- Python (v3.10+)
- Docker and Docker Compose
- MongoDB (or use the provided Docker container)
- Clone the repository
git clone https://github.com/your-org/ai-qa-engineer.git
cd ai-qa-engineer- Setup Frontend
cd frontend
npm install
npm run devThe frontend will be available at http://localhost:3000
- Setup Backend
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reloadThe backend API will be available at http://localhost:8000
- Start with Docker (optional)
docker-compose up -dThis will start the entire stack (frontend, backend, and MongoDB) in development mode.
If you want to run only MongoDB in a Docker container:
# Start MongoDB container
docker run -d -p 27017:27017 --name mongodb mongo:latest
# Verify MongoDB is running
docker ps | findstr mongodbTo use MongoDB with the application:
- Ensure
USE_MOCK_DBis set toFalseinbackend/app/core/config.pyor in your.envfile - Start the backend application:
cd backend
python -m app.main