Skip to content

Pragya-19/QA-Automation-Framework-Pytest-Playwright-API-UI-CI

Repository files navigation

🔁 CI/CD Status

[QA Automation Tests]

🚀 QA Automation Framework with AI Testing Orchestration

🔹 End-to-End QA Pipeline · UI + API + AI

A production-ready QA Automation Framework integrating:

UI Automation (Playwright + Pytest + POM)
API Automation (Requests + Pytest)
CI/CD (GitHub Actions)
AI-powered Test Generation & Multi-Agent Orchestration

🧠 Problem

Modern QA faces:

Manual test case creation
Repetitive validation cycles
Limited scalability with changing requirements

👉 Result: Slow testing and reduced efficiency

💡 Solution

This project introduces an AI-powered QA pipeline that:

Automatically generates test cases
Identifies edge cases and risks
Validates test coverage using intelligent agents

🏗️ Architecture

🏗️ Architecture Overview

End-to-End QA Pipeline

📌 This diagram represents the complete QA pipeline integrating UI automation, API testing, CI/CD, and AI-driven test orchestration.

🔧 Tech Stack

Language: Python

UI Automation: Playwright + Pytest

API Testing: Requests + Pytest

Design Pattern: Page Object Model (POM)

CI/CD: GitHub Actions

AI Layer: Custom Multi-Agent System

📂 Project Structure

tests/

├── ui/


├── api/

pages/ # Page Object Model

api_clients/ # API abstraction

utils/ # Helpers & configs

ai_testing/ # AI test generation

ai_orchestrator/ # AI pipeline (multi-agent)

screenshots/ # Execution proof

reports/ # Test outputs

🌐 UI Automation Testing

Playwright-based UI testing

Page Object Model (POM)

Covers:

Login flows

Validation scenarios

Negative testing

🔌 API Automation Testing

REST API testing using Requests

Covers:

CRUD operations

Negative scenarios

Data validation

🤖 AI Testing

🔹 Test Generation

Automatically generates:

Positive scenarios

Negative scenarios

Edge cases

📸 Output:

🧠 AI Orchestrator (Multi-Agent QA Pipeline)

Simulates intelligent QA system:

Agents:

Story Analyzer → understands requirements

Test Generator → creates test cases

Review Agent → validates coverage

📸 Execution:

🔁 CI/CD Pipeline

GitHub Actions integration

Automated execution on push

Headless test execution

📸 CI/CD Run:

📊 Test Execution

Unified UI + API test suite

Fast execution via Pytest

📸 Output:

▶️ Run Locally

git clone https://github.com/Pragya-19/QA-Automation-Framework-Pytest-Playwright-API-UI-CI.git

cd QA-Automation-Framework-Pytest-Playwright-API-UI-CI

python -m venv venv

venv\Scripts\activate

pip install -r requirements.txt

pytest

Run AI Modules:

python ai_testing/generate_test_cases.py

python ai_orchestrator/orchestrator.py

🏆 Key Highlights

End-to-End Automation Framework

UI + API + CI/CD Integration

AI-driven Test Generation

Multi-Agent QA Pipeline

Scalable and maintainable architecture

🚀 Future Enhancements

Allure Reporting

Parallel execution

Docker support

LLM-based dynamic execution

👩‍💻 Author

Pragya Kapil

QA Automation Engineer | Gen - AI Testing Enthusiast

Linkedin :https://www.linkedin.com/in/pragya-kapil-qa

About

End-to-End QA Automation Framework with AI Testing Orchestration | Playwright UI Automation, API Testing, Pytest, CI/CD (GitHub Actions) & Multi-Agent AI Test Generation

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages