Generate
技能 已验证 活跃Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".
Generate production-ready Playwright tests automatically to streamline the testing process and ensure code quality.
功能
- Generate Playwright tests from user stories, URLs, or feature descriptions
- Explore codebase to understand project structure and conventions
- Select and adapt test templates based on the target feature
- Adhere to project conventions (TypeScript/JavaScript, page objects, fixtures)
- Generate supporting files like page objects and fixtures when needed
使用场景
- When a user requests to 'write tests' for a component or feature.
- When needing to generate boilerplate code for Playwright tests.
- When aiming to quickly create end-to-end tests for a specific flow.
- When onboarding new developers to a project's testing setup.
非目标
- Running the generated tests automatically.
- Debugging the application code itself.
- Providing generic boilerplate without understanding project context.
安装
请先添加 Marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install playwright-pro@claude-code-skills质量评分
已验证类似扩展
Playwright Best Practices
100用于编写 Playwright 测试、修复不稳定测试、调试失败、实现页面对象模型 (Page Object Model)、配置 CI/CD、优化性能、模拟 API、处理身份验证或 OAuth、测试可访问性 (axe-core)、文件上传/下载、日期/时间模拟、WebSockets、地理定位、权限、多标签/弹出窗口流程、移动/响应式布局、触摸手势、GraphQL、错误处理、离线模式、多人协作、第三方服务(付款、电子邮件验证)、控制台错误监控、全局设置/拆卸、测试注解(skip, fixme, slow)、测试标签(@smoke, @fast, @critical, 使用 --grep 过滤)、项目依赖项、安全测试(XSS, CSRF, 身份验证)、性能预算(Web Vitals, Lighthouse)、iframe、组件测试、canvas/WebGL、服务工作线程/PWA、测试覆盖率、i18n/本地化、Electron 应用或浏览器扩展测试。涵盖 E2E、组件、API、视觉、可访问性、安全、Electron 和扩展测试。
Telegram Crabbox E2e Proof
100Use when reviewing, reproducing, or proving OpenClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an agent-controlled Telegram Desktop recording, TDLib user-driver commands, Convex-leased credentials, WebVNC observation, and motion-trimmed artifacts.
Openclaw Testing
100Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.
Agent Browser
100AI 代理的浏览器自动化 CLI。当用户需要与网站交互时使用,包括浏览页面、填写表单、点击按钮、截屏、提取数据、测试 Web 应用或自动化任何浏览器任务。触发条件包括请求“打开网站”、“填表”、“点击按钮”、“截屏”、“抓取页面数据”、“测试此 Web 应用”、“登录网站”、“自动化浏览器操作”或任何需要以编程方式进行 Web 交互的任务。
Vue Testing Best Practices
100Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Develop Web Game
100Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.