How boomika-test-automation/playwright-automation works
This repository is a Playwright browser-automation framework. Its clearest modeled journey is Demoblaze login, product selection, add-to-cart, and cart verification, implemented as page-object actions; the excerpts do not show which test invokes them or their order. The test tree also indicates API, purchase, session, cookie, upload/download, frame, and multi-page coverage. Configuration points Playwright at the tests directory. Several test relationships remain unverified because their source was not excerpted.
Main entry points: tests Test suites · playwright.config.js Playwright config · DemoblazePage.js Demoblaze actions · demoblaze.spec.js Demoblaze tests
Components 18
Test runtime
- Playwright config
playwright.config.js - Playwright page API
- Login data
test-data/loginData.js
Page objects
- Demoblaze actions
pages/DemoblazePage.js - Home navigation
pages/HomePage.js - Login actions
pages/LoginPage.js - Product actions
pages/ProductPage.js - Cart verification
pages/CartPage.js
Test coverage
- Test suites
tests - Demoblaze tests
tests/demoblaze.spec.js - Purchase tests
tests/purchase.spec.js - Login tests
tests/login.spec.js - API tests
tests/Api.spec.js - Browser scenarios
tests/multiplepage.spec.js - File transfer tests
tests/fileupload.spec.js - Download tests
tests/filedownload.spec.js - UI interactions
tests/frame.spec.js
Other components
- Test author
Connections 17
- Test author → Playwright config: configures
playwright.config.js - Playwright config → Test suites: discovers
playwright.config.js - Demoblaze actions → Playwright page API: drives page
pages/DemoblazePage.js - Home navigation → Playwright page API: drives page
pages/HomePage.js - Login actions → Playwright page API: drives page
pages/LoginPage.js - Product actions → Playwright page API: drives page
pages/ProductPage.js - Cart verification → Playwright page API: checks page
pages/CartPage.js - Test suites → Demoblaze tests: includes
- Test suites → Purchase tests: includes
- Test suites → Login tests: includes
- Test suites → API tests: includes
- Test suites → Browser scenarios: includes
- Test suites → File transfer tests: includes
- Test suites → Download tests: includes
- Test suites → UI interactions: includes
- Demoblaze tests → Demoblaze actions: uses actions
- Login tests → Login data: uses credentials