How naveenanimation20/opencartwebapiautomationframework works
This repository is a Playwright automation framework for OpenCart UI flows and API exercises. Its user-to-result workflow is test execution against a web application or API, with page objects and API helpers supporting interaction and response handling; data readers and sample datasets support test inputs. The README is empty, and test implementations and fixtures were not sampled, so their detailed wiring is not represented.
Main entry points: BasePage.ts Shared page actions · testdata Test datasets · HomePage.ts Home page · LoginPage.ts Login page
Components 17
UI automation
- UI test suites
tests - Home page
src/pages/HomePage.ts - Login page
src/pages/LoginPage.ts - Search results
src/pages/SearchResultsPage.ts - Product details
src/pages/ProductInfoPage.ts - Shared page actions
src/pages/BasePage.ts
API automation
- API test suites
tests/api - HTTP helper
src/api/ApiHelper.ts
Test support
- Test fixtures
src/fixtures - CSV reader
src/utils/CsvHelper.ts - Excel reader
src/utils/ExcelHelper.ts - JSON reader
src/utils/JsonHelper.ts - Test datasets
src/testdata - User schema
src/schema/userschema.json
Other components
- Playwright runner
- API under test
- OpenCart application
Connections 10
- Playwright runner → UI test suites: runs
- Playwright runner → API test suites: runs
- Home page → Shared page actions: extends
- Login page → Shared page actions: extends
- Search results → Shared page actions: extends
- Product details → Shared page actions: extends
- HTTP helper → API under test: sends HTTP
- CSV reader → Test datasets: reads CSV
- Excel reader → Test datasets: reads workbook
- JSON reader → Test datasets: reads JSON