e2e-testing-patterns-zh

Build reliable end-to-end test suites using Playwright or Cypress.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "e2e-testing-patterns-zh" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ebf5ab0e6e1d78c7289b02237be730faa5c734370b750cbbb933d710b6ba23d2. Verify the upstream source and version against https://skillhub.cn/skills/org-02qudk26/e2e-testing-patterns-zh before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Build reliable end-to-end test suites using Playwright or Cypress.

0 Downloads

Introduction source: third_party · org-02qudk26 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: e2e-testing-patterns
slug: e2e-testing-patterns
displayName: E2E 测试模式
description: 精通使用 Playwright 和 Cypress 构建可靠的测试套件,以捕获 bug、提升信心并实现快速部署。用于实现 E2E 测试、调试不稳定测试或建立测试标准时。
summary: 用 Playwright/Cypress 构建可靠的端到端测试套件。
version: 1.0.0

E2E 测试模式

构建可靠、快速且可维护的端到端测试套件,让你有信心快速发布代码,并在用户之前捕获回归问题。

适用本技能的场景

  • 实现端到端测试自动化
  • 调试不稳定或不可靠的测试
  • 测试关键用户工作流
  • 搭建 CI/CD 测试流水线
  • 跨多个浏览器测试
  • 验证无障碍(accessibility)要求
  • 测试响应式设计
  • 建立 E2E 测试标准

不适用本技能的场景

  • 你只需要单元测试或集成测试
  • 环境无法支持稳定的 UI 自动化
  • 你无法提供安全的测试账户或数据

操作指引

  1. 识别关键的用户旅程和成功标准。
  2. 构建稳定的选择器和测试数据策略。
  3. 实现带有重试、追踪和隔离的测试。
  4. 在 CI 中并行运行并捕获制品。

安全

  • 避免对生产环境运行破坏性测试。
  • 使用专门的测试数据并脱敏敏感输出。

资源

  • resources/implementation-playbook.md:详细的 E2E 模式和模板。

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 聚焦 E2E 测试自动化,解决开发流程中的高频刚需场景
  • 覆盖关键用户旅程、CI/CD 集成、跨浏览器测试等多个实用方向
Trigger Precision95/100

Highlights

  • description 精准描述核心功能,覆盖多种触发场景
  • frontmatter 中 description 完整且位置正确,边界清晰
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含适用/不适用场景、操作指引、安全提醒
  • frontmatter 完整,步骤划分明确,符合规范
Execution Reliability85/100

Highlights

  • 提及安全注意事项,如避免对生产环境运行破坏性测试
  • 整体为知识型指导,可靠性良好
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.