e2e-testing 是做什么的?
使用 Playwright 对全栈 Python/React 应用进行端到端测试的模式。在编写完整用户工作流(登录、CRUD、导航)的 E2E 测试、关键路径回归测试或跨浏览器验证时使用。涵盖测试结构、页面对象模型、选择器策略(data-testid > role > label)、等待策略、认证状态复用、测试数据管理和 CI 集成。不涵盖单元测试或组件测试(请使用 pytest-patterns 或 react-testing-patterns)。
使用 Playwright 对全栈 Python/React 应用进行端到端测试的模式。
此技能提供使用 Playwright 对全栈 Python/React 应用编写端到端 (E2E) 测试的全面指南。它涵盖了完整的用户工作流,例如登录、CRUD 操作和导航,以及关键路径回归测试和跨浏览器验证。该技能详细介绍了测试结构、页面对象模型、选择器策略(优先使用 data-testid,其次是 role,最后是 label)、等待策略、认证状态复用、测试数据管理和 CI/CD 集成。它不支持单元测试或组件测试,这些应使用专门的模式(如 pytest-patterns 或 react-testing-patterns)。通过遵循这些模式,开发者可以构建可靠且可维护的 E2E 测试套件,确保核心应用功能在不同浏览器和环境中的完整性。
npx skills add https://github.com/hieutrtr/ai1-skills/tree/main/skills/e2e-testingInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
使用 Playwright 对全栈 Python/React 应用进行端到端测试的模式。在编写完整用户工作流(登录、CRUD、导航)的 E2E 测试、关键路径回归测试或跨浏览器验证时使用。涵盖测试结构、页面对象模型、选择器策略(data-testid > role > label)、等待策略、认证状态复用、测试数据管理和 CI 集成。不涵盖单元测试或组件测试(请使用 pytest-patterns 或 react-testing-patterns)。
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.