
twinklejoshi/ai-agent-playwright-typescript-template
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Production-ready Playwright test automation starter for teams and startups: strict TypeScript, Page Object Model, environment management, interactive runner, custom HTML reporting (with optional JIRA...
개요
Production-ready Playwright test automation starter for teams and startups: strict TypeScript, Page Object Model, environment management, interactive runner, custom HTML reporting (with optional JIRA integration), quality tooling, CI/CD patterns, and agentic (MCP-ready) extensibility. Instead of spending days wiring up Playwright from scratch, this template gives you: - Opinionated yet flexible structure - Follows POM design pattern - Unified configuration & environment variable loading - A powerful interactive test runner that composes Playwright commands for you - Rich custom HTML report with JIRA bug creation links & embedded artifacts - Tag‑driven selective execution (regression, smoke, customer, internal) - First‑class logging, helper utilities, and mock data - CI pipeline (Jenkins) example using official Playwright docker image - Playwright Test (@playwright/test) - TypeScript (Strict mode) - Node.
README
원문 README의 일부입니다. 원문 보기.
Table of Contents
- Why This Framework
- Features Overview
- Tech Stack
- Prerequisites
- Quick Start
- Project Structure
- Environments & Configuration
- Running Tests (Scripts)
- Interactive Custom Test Runner
- Tagging Strategy
- Page Object Model (POM)
- Configuration Hub (
configuration.ts) - Custom HTML Reporting
- Logging
- Code Quality: Prettier / ESLint / Husky
- TypeScript Configuration
- CI/CD Jenkins Pipeline
- Writing & Extending Tests
- AI Agent & Playwright MCP Integration
- Troubleshooting
- Security & Secrets
- License
- Contributor Details
Why This Framework
Instead of spending days wiring up Playwright from scratch, this template gives you:
- Opinionated yet flexible structure - Follows POM design pattern
- Unified configuration & environment variable loading
- A powerful interactive test runner that composes Playwright commands for you
- Rich custom HTML report with JIRA bug creation links & embedded artifacts
- Tag‑driven selective execution (regression, smoke, customer, internal)
- First‑class logging, helper utilities, and mock data
- CI pipeline (Jenkins) example using official Playwright docker image
Features Overview
| Area | Capability |
|---|---|
| Test Types | UI, API (E2E slot reserved for future) |
| Architecture | Page Object Model for UI/API pages |
설치
npx cross-env NODE_ENV=local playwright test --grep "@smoke"