Skip to content

ashwinirajm/playwright-ui-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright UI Automation Framework

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.

Tech Stack

  • Python
  • Pytest
  • Playwright
  • Allure Reports

Project Structure

playwright-ui-automation/
│
├── pages/
│   ├── cart_page.py
│   ├── checkout_page.py
│   ├── inventory_page.py
│   └── login_page.py
│
├── tests/
│   └── test_e2e_flow.py
│
├── utils/
    └── config.py

Features

  • Page Object Model (POM)
  • Fixtures for setup
  • Config management
  • Screenshot on failure
  • Allure reporting

Run Tests

pytest --alluredir=allure-results

View Report

allure serve allure-results

About

UI automation framework built using Playwright and Python - to validate a complete purchase flow in a web application.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages