refactor: 删除旧的E2E测试文件

删除文件:
- e2e/admin-frontend-interaction.spec.ts
- e2e/admin-publish-core.spec.ts
- e2e/admin-publish.spec.ts
- e2e/website-acceptance.spec.ts

原因:
- 已被新的测试架构替代
- 新架构采用Page Object Model模式
- 新架构有更清晰的测试分类(smoke/journeys/features)
- 新架构提供更好的可维护性和可扩展性

新测试架构:
- smoke/ - 冒烟测试
- journeys/ - 用户旅程测试
- features/ - 功能测试
- pages/ - Page Object Model
- fixtures/ - 测试固件
This commit is contained in:
张翔
2026-04-09 13:34:44 +08:00
parent 8f0c8da776
commit d14513ff34
10 changed files with 241 additions and 1071 deletions
+7
View File
@@ -17,6 +17,13 @@
"test:fast": "TEST_TIER=fast playwright test",
"test:standard": "TEST_TIER=standard playwright test",
"test:deep": "TEST_TIER=deep playwright test",
"test:smoke": "playwright test --grep @smoke",
"test:journey": "playwright test --grep @journey",
"test:feature": "playwright test --grep @feature",
"test:admin": "playwright test --grep @admin",
"test:frontend": "playwright test --grep @frontend",
"test:ui": "playwright test --ui",
"test:debug": "playwright test --debug",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",