How haloapping/saucedemo works
This is a small Playwright page-object layer for automating the SauceDemo shopping site. Its domain stages are login, inventory/cart, and checkout information, overview, and completion; the page modules expose helpers for those stages but do not show an orchestrating caller. Edges capture selector usage and direct site interactions. Test files are excluded, so the exact scenario wiring is not represented.
Main entry points: auth_page.py Authentication · inventory_page.py Inventory · cart_page.py Cart · checkout_page.py Checkout
Components 10
Page actions
- Authentication
page/auth_page.py - Inventory
page/inventory_page.py - Cart
page/cart_page.py - Checkout
page/checkout_page.py
Selectors
- Auth selectors
selector/auth_page_selector.py - Inventory selectors
selector/inventory_page_selector.py - Cart selectors
selector/cart_page_selector.py - Checkout selectors
selector/checkout_page_selector.py
Other components
- Automation caller
- SauceDemo site
Connections 8
- Authentication → Auth selectors: uses selectors
- Inventory → Inventory selectors: uses selectors
- Cart → Cart selectors: uses selectors
- Checkout → Checkout selectors: uses selectors
- Authentication → SauceDemo site: navigates and acts
- Inventory → SauceDemo site: acts on
- Cart → SauceDemo site: acts on
- Checkout → SauceDemo site: acts on