界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
文档与办公 · SKILL.md

e2e-testing

e2e-testing

【文档与办公】Use when reviewing CI coverage, automated checks, or test strategy related to Implement end-to-end testing. Focus on whether the rule is continuously verified, not just documented.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: e2e-testing description: "Use when reviewing CI coverage, automated checks, or test strategy related to Implement end-to-end testing. Focus on whether the rule is continuously verified, not just documented." metadata: category: testing priority: high difficulty: intermediate estimatedTime: "30" source: frontendchecklist.io url: https://frontendchecklist.io/rules/testing/e2e-testing

Implement end-to-end testing

E2E tests catch integration issues that unit tests miss—verifying your application works correctly from the user's perspective across all components.

Quick Reference

  • Test critical user journeys: authentication, checkout, core business flows
  • Use data-testid attributes for stable, maintainable selectors
  • Implement Page Object Model for reusable test components
  • Run E2E tests in CI/CD with artifact uploads on failure

Check

Review this project for E2E test coverage of critical user journeys like authentication, checkout, and form submissions.

Fix

Add E2E tests for critical user journeys using Playwright or Cypress.

Explain

Explain E2E testing best practices including test organization, selectors, and CI/CD integration.

Code Review

Review tests, CI workflows, and enforcement points related to Implement end-to-end testing. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/e2e-testing

我的收藏