How manimozhiyan1990/playwright-tdd-framework works
This repository is a Playwright-based test-automation framework, with page-step classes for login, home, and cookie interactions and a shared browser helper. Its wider tree includes AI, API, data-provider, JMeter, database, spreadsheet, and PDF-related areas, though several are empty or unsampled. The excerpts establish page-step-to-helper and helper-to-config links; the test spec and most data/integration wiring were not shown, so those relationships are left out.
Main entry points: web-commons.ts Web commons · login-page-steps.ts Login steps · home-page-step.ts Home steps · cookies-page-steps.ts Cookie steps
Components 18
Browser automation
- UI test spec
tests/ui/ui-test.spec.ts - Login steps
page-object/page-steps/login-page-steps.ts - Home steps
page-object/page-steps/home-page-step.ts - Cookie steps
page-object/page-steps/cookies-page-steps.ts - Login locators
page-object/page-elements/login-page-elements.json - Home locators
page-object/page-elements/home-page-elements.json - Cookie locators
page-object/page-elements/cookies-page-elements.json
Shared capabilities
- Web commons
commons/ui/web-commons.ts - Runtime config
config/config.json - AI commons
commons/ai/ai-commons.ts - API commons
commons/api/api-commons.ts - Data provider
commons/dp/dp-commons.ts - JMeter commons
commons/jmeter/jmeter-commons.ts
Data utilities
- Database utilities
utilities/db-utils.ts - Database query helper
utilities/pdf-util.ts - Spreadsheet reader
utilities/excel-util.ts - Test data
testdata
Other components
- Test runner
Connections 7
- Login steps → Web commons: uses
page-object/page-steps/login-page-steps.ts - Home steps → Web commons: uses
page-object/page-steps/home-page-step.ts - Cookie steps → Web commons: uses
page-object/page-steps/cookies-page-steps.ts - Login steps → Login locators: reads locators
page-object/page-steps/login-page-steps.ts - Home steps → Home locators: reads locators
page-object/page-steps/home-page-step.ts - Cookie steps → Cookie locators: reads locators
page-object/page-steps/cookies-page-steps.ts - Web commons → Runtime config: reads settings
commons/ui/web-commons.ts