Skip to main content
Glama
README.md
# E-commerce QA Architecture Framework v2.0

> AI-Ready, Scalable & MCP-Enabled Test Automation Framework

### Overview
Enterprise-grade QA framework for E-commerce platforms. Built with Playwright, MCP Server & Performance layer.

### Tech Stack
- *Runner:* Playwright + Node.js
- *Architecture:* 5-Layer (Runner, POM, Core Services, Utils, Reporting)
- *AI Integration:* MCP Server (mcp-server.js)
- *CLI:* cli.js for one-click execution

### Project Structure

### Running Tests

Install dependencies with `npm install`, then run a suite through the CLI:

```bash
node cli.js --suite=api --env=staging
node cli.js --suite=ui --env=staging
node cli.js --suite=perf --env=staging
```

The direct scripts are also available as `npm run test:api`, `npm run test:ui`,
and `npm run test:perf`. Copy `.env.example` to `.env` and override the base
URLs when targeting a test environment.

Start the MCP-compatible Express server with `node mcp-server.js`. Its tools
are available at `/run/run_api_tests`, `/run/run_ui_tests`, and
`/run/run_perf_tests`.