A production-ready API Automation Framework built using Playwright + TypeScript, following industry best practices with CI/CD integration.
- Playwright API Testing
- TypeScript
- Playwright Test Runner
- JSON Schema Validation (Ajv)
- Faker.js
- Builder Pattern
- Test Data Factory
- Playwright Fixtures
- API Manager Pattern
- GitHub Actions
- Jenkins Pipeline
- Allure Reports
- HTML Reports
- Git
- GitHub
- Node.js
.
├── api/
├── Builders/
├── fixtures/
├── schemas/
├── testdata/
├── tests/
│ ├── auth/
│ ├── cart/
│ ├── order/
│ ├── products/
│ └── status/
├── utils/
├── allure-results/
├── allure-report/
├── playwright-report/
├── Jenkinsfile
├── package.json
└── playwright.config.ts
- Authentication API
- Cart API
- Product API
- Order API
- Status API
- Builder Pattern
- Test Data Factory
- JSON Schema Validation
- Reusable API Managers
- Playwright Fixtures
- Token Management
- Dynamic Test Data
- Clean Architecture
- Centralized Configuration
- Environment Support
- Logging
- Assertions
- Parallel Execution
✅ GitHub Actions
- Automatic execution on Push
- HTML Report Generation
- Allure Report Generation
✅ Jenkins Pipeline
- Source Checkout
- Dependency Installation
- Playwright Test Execution
- Allure Report Generation
- Artifact Archiving
npx playwright show-reportGenerate Report
npm run allure:generateOpen Report
npm run allure:openClone Repository
git clone https://github.com/Samlordson/Playwright_Grocery_Store_API-_Framework.gitInstall Dependencies
npm installInstall Playwright Browsers
npx playwright installRun Complete Suite
npx playwright testRun Authentication Tests
npx playwright test tests/authRun Cart Tests
npx playwright test tests/cartRun Product Tests
npx playwright test tests/productsRun Order Tests
npx playwright test tests/orderRun Status Tests
npx playwright test tests/statusClientBuilder
ItemBuilder
OrderBuilder
TestDataFactory
├── client()
├── item()
└── order()
- Playwright HTML Report
- Allure Report
- Jenkins Build Artifacts
- GitHub Actions Workflow Reports
Developer
│
▼
GitHub Repository
│
▼
GitHub Actions
│
▼
Run Playwright Tests
│
▼
Generate Reports
│
▼
Publish Artifacts
----------------------------
GitHub Push
│
▼
GitHub Webhook
│
▼
Jenkins Pipeline
│
▼
Checkout Source
│
▼
Install Dependencies
│
▼
Execute Playwright Tests
│
▼
Generate Allure Report
│
▼
Archive Reports
- Dockerized Execution
- Azure DevOps Pipeline
- Slack Notifications
- Email Notifications
- Multiple Environment Support
- API Performance Testing
- Newman Integration
- SonarQube Integration
QA Automation Engineer
- Playwright
- TypeScript
- API Automation
- Selenium
- Jenkins
- GitHub Actions
- Docker
- CI/CD
- REST API Testing
- JSON Schema Validation