How ed-qa/full-example-tests-for-practice-software-testing works
This repository is a Python Playwright/pytest QA suite for the public Practice Software Testing e-commerce app. Its main workflow is to run browser scenarios, use page models and shared helpers to interact with the site, and capture test outcomes; separate API checks exercise deterministic local product fixtures and public API behavior. The README documents the broader scenario coverage and reporting intent, but most test implementations were not sampled, so those branches are shown at the suite level.
Main entry points: base_page.py Base page · e2e E-commerce flows · api Product API checks · smoke Readiness smoke
Components 20
Test Runtime
- pytest runner
- Browser settings
conftest.py
Browser Scenarios
- E-commerce flows
tests/e2e - Readiness smoke
tests/smoke - Responsive checks
tests/e2e - Visual demo
tests/visual - Page models
pages - Base page
pages/base_page.py - Home interactions
pages/home_page.py - Login interactions
pages/login_page.py - Registration interactions
pages/register_page.py - Contact interactions
pages/contact_page.py - Shared assertions
tests/support
API Checks
- Product API checks
tests/api - Local product fixtures
utils/api_fixtures.py - Product models
utils/models.py - Contract validation
utils/contract.py
Other components
- QA engineer
- Practice site
- Public API
Connections 23
- QA engineer → pytest runner: runs
README.md - pytest runner → Browser settings: loads settings
conftest.py - pytest runner → E-commerce flows: runs suite
README.md - pytest runner → Readiness smoke: runs suite
README.md - pytest runner → Responsive checks: runs checks
README.md - pytest runner → Visual demo: runs demo
README.md - E-commerce flows → Page models: uses models
README.md - E-commerce flows → Shared assertions: uses helpers
README.md - Page models → Base page: extends
pages/base_page.py - Home interactions → Base page: extends
pages/home_page.py - Login interactions → Base page: extends
pages/login_page.py - Registration interactions → Base page: extends
pages/register_page.py - Contact interactions → Base page: extends
pages/contact_page.py - E-commerce flows → Practice site: exercises workflows
README.md - Readiness smoke → Practice site: checks readiness
README.md - Responsive checks → Practice site: checks layouts
README.md - Visual demo → Practice site: checks baseline
README.md - pytest runner → Product API checks: runs suite
README.md - Product API checks → Local product fixtures: uses fixtures
README.md - Product API checks → Contract validation: checks contracts
README.md - Local product fixtures → Product models: creates products
utils/api_fixtures.py - Contract validation → Product models: validates data
utils/contract.py - Product API checks → Public API: smoke checks
README.md