Documentation
README
E2E 测试模式 (E2E Testing Patterns)
用于构建稳定、快速且易于维护的 E2E 测试套件的全面 Playwright 模式。
测试文件组织 (Test File Organization)
tests/
├── e2e/
│ ├── auth/
│ │ ├── login.spec.ts
│ │ ├── logout.spec.ts
│ │ └── register.spec.ts
│ ├── features/
│ │ ├── browse.spec.ts
│ │ ├── search.spec.ts
│ │ └── create.spec.ts
│ └── api/
│ └── endpoints.spec.ts
├── fixtures/
│ ├── auth.ts
│ └── data.ts
└── playwright.config.ts
页面对象模型 (Page Object Model - POM)
This is the opening of the README. Read the full README on GitHub.