Skip to content

EvgeniyZh/aqa-python-playwright

Repository files navigation

aqa-python-playwright

UI test automation project built with Python, Pytest, and Playwright.

Project structure

aqa-python-playwright/
├── helpers/
│   └── generate_data.py      # Test data models and generators
├── pages/
│   ├── base_page.py          # Shared page actions/helpers
│   ├── login_page.py         # Login/home page object
│   └── signup.py             # Signup page object
├── tests/
│   └── ui/
│       ├── conftest.py       # Shared fixtures (browser/context/page/page objects)
│       └── test_goto.py      # Registration/login tests
├── .pre-commit-config.yaml   # Pre-commit hooks (ruff, basic checks)
├── pyproject.toml            # Project deps + pytest/ruff config
└── uv.lock                   # Locked dependency versions for uv

Requirements

  • Python 3.12+
  • Playwright browsers installed

Setup

Using uv:

uv sync
uv run playwright install

Or with pip:

python -m venv .venv
source .venv/bin/activate
pip install -e .
playwright install

Run tests

make test

or

uv run pytest

Generate Allure raw results:

make test-allure

Clean temporary/report artifacts:

make clean

Code quality

Run checks:

ruff check .

Pre-commit:

pre-commit install
pre-commit run --all-files

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors