This is a test automation project written in Python 3.9. It is currently in the early stages of development.
- Python 3.9+
- Poetry (dependency management)
- Playwright
Allure HTML reports are automatically generated and published via GitHub Pages after each successful test run on main or dev branches.
🔗 View latest report: Allure Report on GitHub Pages
(Report may not exist until the first successful CI run on main or dev.)
The project is being created for practice and learning purposes. Structure and goals are still being defined.
This project uses Poetry for dependency management. Make sure you have Poetry installed:
# Install Poetry (if not already installed)
curl -sSL https://install.python-poetry.org | python3 -
# Or using pipx (recommended)
pipx install poetryThen install dependencies:
# Install all dependencies including dev tools
poetry install --extras dev
# Install Playwright browsers
poetry run playwright installBy default, tests run in Headless mode:
poetry run pytest # Run all testspoetry run pytest tests/main_page_test.py # Run all tests in specific filepoetry run pytest tests/main_page_test.py::test_accept_privacy_popup_visible # Run specific test
To run tests in headed mode (with browser UI):
poetry run pytest --headed # Show browser UIpoetry run pytest --slowmo # Slow down actions by 500mspoetry run pytest --browser chromium # Use Chromium browser (default)poetry run pytest --headed --browser firefox # Use Firefox browserpoetry run pytest tests/main_page_test.py::test_accept_privacy_popup_visible --headed --browser firefox
# Run code formatting
poetry run black .
# Run linting
poetry run flake8 .
# Activate the virtual environment (optional, for manual use)
poetry shell├── pages/
│ ├── __init__.py
│ ├── base_page.py
│ └── main_page.py
├── tests/
│ ├── __init__.py
│ ├── test_main_page.py
│ └── conftest.py
├── utils/
│ ├── __init__.py
│ └── helpers.py