
A scalable automated testing framework built with TypeScript and Playwright for testing cryptocurrency platforms such as CoinMarketCap.
The project implements a dual-layer testing strategy covering both REST API and Web UI, focusing on data integrity, user workflows, error handling, and reliable regression testing.
coinmarketcap-automation/
├── pages/
│ └── HomePage.ts # Page Object สำหรับหน้าหลัก CoinMarketCap
├── tests/
│ ├── api/
│ │ └── crypto-api.spec.ts # API Tests (REST API)
│ └── ui/
│ └── home.spec.ts # UI Tests (Search & Table validation)
├── playwright.config.ts # Playwright Configuration
├── tsconfig.json # TypeScript Configuration
└── package.json
# Project Structure
New-Item -ItemType Directory -Force -Path pages, api-services, tests\api, tests\ui
New-Item -ItemType File -Force -Path pages\HomePage.ts, api-services\CryptoApiService.ts, tests\api\crypto-api.spec.ts, tests\ui\home.spec.ts, .gitignore, playwright.config.ts, tsconfig.json