This project is an end-to-end (E2E) UI automation framework built using Playwright with Python, designed to validate a complete purchase flow in a web application.
The framework follows the Page Object Model (POM) design pattern to ensure scalability, maintainability, and clear separation of concerns.
- Python
- Pytest
- Playwright
- Allure Reports
playwright-ui-automation/
│
├── pages/
│ ├── cart_page.py
│ ├── checkout_page.py
│ ├── inventory_page.py
│ └── login_page.py
│
├── tests/
│ └── test_e2e_flow.py
│
├── utils/
└── config.py
- Page Object Model (POM)
- Fixtures for setup
- Config management
- Screenshot on failure
- Allure reporting
pytest --alluredir=allure-results
allure serve allure-results