๐ฅ A scalable, production-ready End-to-End Automation Framework built using Playwright + TypeScript following industry best practices.
This project demonstrates a robust automation framework designed for testing an e-commerce application (Sparkle Cart Website).
It is built with a focus on:
- โ Scalability
- โ Maintainability
- โ Reusability
- โ Real-world QA use cases
โ๏ธ End-to-End Test Coverage
โ๏ธ Page Object Model (POM) Design Pattern
โ๏ธ Data-Driven Testing Approach
โ๏ธ Modular & Clean Architecture
โ๏ธ Allure Reporting Integration
โ๏ธ CI/CD Ready (GitHub Workflows)
โ๏ธ TypeScript for Strong Typing
โ๏ธ Easy Debugging & Execution
๐ฆ Sparkle-Cart-Playwright-Framework โฃ ๐ .github/workflows โ CI/CD Pipelines โฃ ๐ TestData โ Test Data Files โฃ ๐ allure-report โ Generated Reports โฃ ๐ allure-results โ Raw Results โฃ ๐ pages โ Page Object Classes โฃ ๐ tests โ Test Scripts โฃ ๐ utils โ Utility Functions โฃ ๐ playwright.config.ts โ Playwright Config โฃ ๐ package.json โ Dependencies โ ๐ .gitignore โ Ignored Files
- Each page has its own class
- Separation of locators & actions
- Improves maintainability
- Contains test scenarios
- Covers:
- ๐ Cart functionality
- ๐ Search functionality
- ๐ Homepage validation
- ๐ฆ Order tracking
- ๐ End-to-End flows
- Data providers
- Random data generators
- Reusable helpers
โ๏ธ End-to-End Purchase Flow
โ๏ธ Product Search Validation
โ๏ธ Add to Cart Functionality
โ๏ธ Order Tracking Validation
โ๏ธ Homepage UI & Functional Testing
- ๐ญ Playwright
- ๐ฆ TypeScript
- ๐งช Node.js
- ๐ Allure Reports
- ๐ GitHub Actions (CI/CD)
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
2๏ธโฃ Install Dependencies
npm install
3๏ธโฃ Install Playwright Browsers
npx playwright install
4๏ธโฃ Run Tests
npx playwright test
5๏ธโฃ Run Tests in UI Mode
npx playwright test --ui
๐ Allure Report
Generate & View Report:
npx allure generate ./allure-results --clean
npx allure open
๐ Provides:
Detailed test execution insights
Screenshots on failure
Step-level reporting
๐ CI/CD Integration
GitHub Actions workflow added
Automatically runs tests on push
Helps maintain code quality
๐ก Why This Framework Stands Out?
๐ Industry-level structure used in top product companies
๐ Designed with real QA challenges in mind
๐ Easily extendable for large-scale projects
๐ Demonstrates strong SDET/QA Automation skills
๐ฏ Ideal For
QA Engineers
SDET Professionals
Automation Testers
Recruiters evaluating automation skills
๐ข Let's Connect & Collaborate
Iโm actively looking for opportunities in:
๐น QA Automation
๐น SDET Roles
๐น Test Lead / UAT Lead
๐จโ๐ป Author
Arpit Choubey
SDET | QA | Automation Engineer
๐ LinkedIn: https://www.linkedin.com/in/arpitchoubey/
โ๏ธ Medium: https://medium.com/@ArpitChoubey9
โญ Support
If this repository helped you, please โญ star it to support and motivate further contributions.