How yuliiafonaskova/playwrightpracticesoftwaretesting works
This repository is a Playwright end-to-end test suite for the Practice Software Testing web application. Its workflow is organized into authentication, catalog search, product-detail, and shopping-cart scenarios: test specs exercise business-layer page objects, which use shared browser actions to interact with the external application. The README documents these suites and cross-browser coverage. The test specs were not excerpted, so their calls into page objects are shown as unverified; no fixture-data wiring is inferred.
Main entry points: ProductPage.js Product details · LoginPage.js Login page · MainPage.js Catalog and search · BasePage.js Browser actions
Components 13
Test scenarios
- Login tests
tests/login.spec.js - Search tests
tests/search.spec.js - Product tests
tests/product.spec.js - Cart tests
tests/cart.spec.js - Browser configuration
playwright.config.js
Business pages
- Login page
business/pages/LoginPage.js - Catalog and search
business/pages/MainPage.js - Product details
business/pages/ProductPage.js - Shopping cart
business/pages/CartPage.js - Application routes
business/routes.js
Shared framework
- Browser actions
core/BasePage.js
Other components
- Test runner
- Practice Software Testing
Connections 21
- Test runner → Login tests: runs
- Test runner → Search tests: runs
- Test runner → Product tests: runs
- Test runner → Cart tests: runs
- Login tests → Login page: exercises
- Search tests → Catalog and search: exercises
- Product tests → Product details: exercises
- Cart tests → Product details: exercises
- Cart tests → Shopping cart: exercises
- Browser configuration → Practice Software Testing: sets base URL
playwright.config.js - Login page → Browser actions: extends
business/pages/LoginPage.js - Catalog and search → Browser actions: extends
business/pages/MainPage.js - Product details → Browser actions: extends
business/pages/ProductPage.js - Shopping cart → Browser actions: extends
business/pages/CartPage.js - Login page → Application routes: checks route
business/pages/LoginPage.js - Catalog and search → Application routes: uses routes
business/pages/MainPage.js - Product details → Application routes: uses routes
business/pages/ProductPage.js - Login page → Practice Software Testing: drives UI
- Catalog and search → Practice Software Testing: drives UI
- Product details → Practice Software Testing: drives UI
- Shopping cart → Practice Software Testing: drives UI