How pavanoltraining/playwrightautomation works
This repository is a Playwright browser-automation suite, with examples covering UI interactions, browser features, API checks, and test-runner behavior. Its user-to-result workflow is configured test execution against browser pages, with page objects supporting login, product selection, and cart verification. The excerpts show page-object behavior and runner configuration, but not test implementations, so links from individual tests to page objects and most test capabilities are omitted rather than inferred.
Main entry points: LoginPage.js Login Page · playwright.config.js Playwright Config · HomePage.js Home Page · CartPage.js Cart Page
Components 13
Test Runner
- Playwright Config
playwright.config.js
Page Objects
- Login Page
pages/LoginPage.js - Home Page
pages/HomePage.js - Cart Page
pages/CartPage.js
Test Coverage
- Browser Test Suite
tests - Home Tests
tests/HomePageTest.spec.js - Page Object Tests
tests/Pomtest.spec.js - UI Interactions
tests - Browser Features
tests - API Checks
tests/APITests.spec.js - Runner Features
tests
Other components
- Demoblaze
- Playwright Page
Connections 5
- Playwright Config → Browser Test Suite: selects tests
playwright.config.js - Login Page → Demoblaze: opens site
pages/LoginPage.js - Login Page → Playwright Page: uses page
pages/LoginPage.js - Home Page → Playwright Page: uses page
pages/HomePage.js - Cart Page → Playwright Page: uses page
pages/CartPage.js