How mahoozi97/playwright-pytest-project works
This repository is a small pytest/Playwright browser-automation example suite, not the Playwright library itself. Its apparent workflow is running scenarios that exercise OrangeHRM pages or API/data-driven examples, with pytest configuration preparing HTML reports. Test files and data files were not excerpted, so links from scenarios to page objects, data, and external services are unverified; those edges are dashed rather than asserted as observed calls.
Main entry points: test_login_orangehrm.py Login scenario · test_data_driven_demo.py Data-driven demo · test_api_get.py API GET scenario · test_api_post.py API POST scenario
Components 13
Test scenarios
- Login scenario
tests/test_login_orangehrm.py - API GET scenario
tests/api/test_api_get.py - API POST scenario
tests/api/test_api_post.py - Data-driven demo
tests/test_data_driven_demo.py - Recorded scenario
tests/test_rec_1.py
OrangeHRM pages
- Login page object
pages/orangehrm_login_page.py - Home page object
pages/orangehrm_home_page.py
Inputs and reporting
- CSV data
test_data/data.csv - JSON data
test_data/data.json - HTML report setup
conftest.py
Other components
- Pytest runner
- OrangeHRM demo
- API service
Connections 14
- Pytest runner → Login scenario: runs
README.md - Pytest runner → API GET scenario: runs
README.md - Pytest runner → API POST scenario: runs
README.md - Pytest runner → Data-driven demo: runs
README.md - Pytest runner → Recorded scenario: runs
README.md - Login scenario → Login page object: may use
- Login scenario → OrangeHRM demo: may automate
- Login page object → OrangeHRM demo: navigates to
pages/orangehrm_login_page.py - Home page object → OrangeHRM demo: acts on
- Data-driven demo → CSV data: may read
- Data-driven demo → JSON data: may read
- API GET scenario → API service: may request
- API POST scenario → API service: may request
- Pytest runner → HTML report setup: configures report
conftest.py