How mahoozi97/pytest-playwright-saucedemo works
This repository is an end-to-end UI test suite for SauceDemo authentication, not the e-commerce application itself. Its documented workflow uses external test data to parameterize login scenarios, drives the site through a Playwright page object, and checks for successful navigation or expected errors. The page-object implementation and report configuration were sampled; the test and CSV contents were not, so their connections rely on the README’s description.
Main entry points: test_login_page.py Login tests · LoginPage.py Login page object · data.csv Login data
Components 4
Login scenarios
- Login tests
tests/test_login_page.py
UI automation
- Login page object
pages/LoginPage.py
Test inputs
- Login data
test_data/data.csv
Other components
- SauceDemo
Connections 3
- Login tests → Login page object: uses
README.md - Login data → Login tests: parameterizes
README.md - Login page object → SauceDemo: drives UI
pages/LoginPage.py