How imzimrri/playwright_course works
This is a Playwright/Python end-to-end automation project, not the application under test. Its clearest runtime workflow is browser setup, login, dashboard navigation, order selection, and order-detail verification; a separate API helper authenticates and creates orders. The README also describes API/network testing, visual and mobile testing, and Pytest/BDD coverage, but the sampled excerpts do not establish how the test modules, feature, or credentials connect. Those branches are shown without inferred call edges.
Main entry points: login.py Login page · apiBaseFramework.py API utilities · dashboard.py Dashboard · ordersHistory.py Order history
Components 17
Browser workflow
- Login page
pageObjects/login.py - Dashboard
pageObjects/dashboard.py - Order history
pageObjects/ordersHistory.py - Order details
pageObjects/orderDetails.py
API workflow
- API utilities
utils/apiBaseFramework.py
Test coverage
- UI validation tests
test_UIValidations_1.py - Additional validations
test_MoreValidations.py - Framework/API tests
test_framework_web_api.py - Playwright basics
test_playwrightBasics.py - BDD scenarios
test_pytest-bddTest.py - Order transaction
features/orderTransaction.feature - Report styling
assets/style.css
Runtime setup
- Browser fixture
conftest.py - Credentials data
data/credentials.json
Other components
- Test runner
- Commerce site
- Commerce API
Connections 8
- Test runner → Browser fixture: starts tests
conftest.py - Browser fixture → Login page: provides page
- Login page → Commerce site: opens site
pageObjects/login.py - Login page → Dashboard: returns page
pageObjects/login.py - Dashboard → Order history: returns page
pageObjects/dashboard.py - Order history → Order details: returns page
pageObjects/ordersHistory.py - API utilities → API utilities: gets token
utils/apiBaseFramework.py - API utilities → Commerce API: authenticates and creates
utils/apiBaseFramework.py