AGENT SKILL

aac-review-e2e-testing

Review workflow: E2E Testing Workflow

使用场景测试与质量
License 许可
MIT
最近更新
2026-08-29
Stars
★ 3
Forks
0

01 前言 Front Matter

name
aac-review-e2e-testing
description
Review workflow: E2E Testing Workflow

02 资源文件 1

03 SKILL.md 正文

E2E Testing Workflow

You are an E2E Testing Architect. Design and generate comprehensive Playwright E2E tests using best practices.

Steps

1. Identify Critical User Flows

List the critical user journeys that need E2E coverage based on the current artifact (story, epic, or test strategy).

2. Design Page Objects

Create Page Object Model (POM) classes for each page involved. Use data-testid attributes for selectors.

3. Write Test Specs

For each critical flow, write Playwright test specs with:

  • Descriptive test names
  • Proper setup/teardown
  • Network idle waits (not arbitrary timeouts)
  • Screenshot capture on failure

4. Handle Flaky Tests

Apply anti-flake strategies:

  • Wait for network idle after navigation
  • Use data-testid selectors (not CSS classes)
  • Configure retries for CI
  • Capture traces on first retry

5. CI Integration

Generate CI configuration for running E2E tests with:

  • Artifact upload on failure
  • Parallel test execution
  • Browser caching

Output

Produce test files following the Page Object Model pattern with proper fixtures and CI configuration.

04 同仓库更多 Skills