chore: archive plan and restore seed checklist

This commit is contained in:
2026-02-03 13:12:20 +08:00
parent 5a125c0f51
commit 0f696390f6
2 changed files with 64 additions and 100 deletions

View File

@@ -1,100 +0,0 @@
# Implementation Plan: UI Page Testing Checklist
**Branch**: `main` | **Date**: 2026-01-26 | **Spec**: N/A
**Input**: 制定页面级自动化测试清单,覆盖 portal/superadmin 核心业务流。
**Note**: 本计划遵循 `docs/templates/plan-template.md`
## Summary
梳理并落地一份可执行的 UI 页面测试清单,涵盖 Portal 与 Superadmin 的关键流(登录、订单、内容、财务、通知等),便于 AI/MCP 按步骤执行与验证。
## Technical Context
**Language/Version**: JS (Vue3 + Vite) + Chrome DevTools MCP
**Primary Dependencies**: Vite dev servers, seeded data
**Storage**: PostgreSQL (seed required)
**Testing**: 页面自动化MCP
**Target Platform**: local/staging
**Project Type**: Web application
**Performance Goals**: N/A
**Constraints**: 仅文档/指令,不改业务代码
**Scale/Scope**: Portal + Superadmin 核心页面
## Constitution Check
- 遵循 `backend/llm.txt`
- 不修改生成文件
## Project Structure
```text
docs/
├── plan.md
└── seed_verification.md
```
## Plan Phases
### Phase 1: 场景整理
- 列出 Portal/Superadmin 关键页面与断言点。
### Phase 2: 测试步骤编排
- 为每个场景编排 MCP 步骤(导航、表单、断言、错误检查)。
### Phase 3: 输出清单
- 将清单写入 `docs/seed_verification.md`
## Tasks
**Format**: `[ID] [P?] [Story] Description`
### Phase 1
- [x] T001 [US0] 梳理 Portal 核心页面与断言
- [x] T002 [US0] 梳理 Superadmin 核心页面与断言
### Phase 2
- [x] T010 [US1] 编排 MCP 步骤(导航/登录/断言/错误检查)
### Phase 3
- [x] T020 [US2] 输出并归档测试清单
## UI 测试执行清单(勾选即执行)
### Portal
- [x] 登录 `/auth/login`13800138000 / OTP 1234勾选条款
- [x] 首页 `/t/:tenantCode` 加载无报错
- [x] 内容详情 `/t/:tenantCode/contents/1`(正文/评论可见)
- [x] 订单 `/t/:tenantCode/me/orders` 列表有数据
- [x] 已购 `/t/:tenantCode/me/library` 列表有数据
- [x] 收藏 `/t/:tenantCode/me/favorites` 有数据
- [x] 点赞 `/t/:tenantCode/me/likes` 有数据
- [x] 消息中心 `/t/:tenantCode/me/notifications` 无报错
- [x] 创作者中心 `/t/:tenantCode/creator` 可访问
### Superadmin
- [x] 登录 `/super/auth/login`superadmin/superadmin123
- [x] Dashboard 载入
- [x] Orders 列表有数据
- [x] Finance提现/流水/异常)有数据
- [x] Notifications → 模板管理编辑并保存
- [x] System Configs 展示 `site_name/support_email`
- [x] Audit Logs 有最新操作
- [ ] Notifications 群发后在 Portal 消息中心出现新记录(需人工确认)
## Dependencies
- Phase 1 → Phase 2 → Phase 3
## Acceptance Criteria
- 文档包含 Portal/Superadmin 主要页面与清晰断言点。
- 每个场景有 MCP 执行步骤含登录、导航、断言、console error 检查)。
## Risks
- 环境/端口变更导致脚本需调整。
## Complexity Tracking
无。

64
docs/plans/2026-02-03.md Normal file
View File

@@ -0,0 +1,64 @@
# Implementation Plan: Consolidate UI Testing Artifacts
**Branch**: `main` | **Date**: 2026-01-26 | **Spec**: `docs/backups/seed_verification.md`
**Input**: 将测试清单文档从备份位置合并回正式目录,确保符合 AGENTS.md 的计划要求并归档/清空。
## Summary
`docs/backups/seed_verification.md` 的页面测试清单合并回 `docs/seed_verification.md`,保证计划文档更新,并按规则归档 `docs/plan.md`
## Technical Context
**Language/Version**: Markdown docs
**Primary Dependencies**: N/A
**Storage**: N/A
**Testing**: N/A
**Target Platform**: repo docs
**Project Type**: Documentation
**Performance Goals**: N/A
**Constraints**: 遵循 AGENTS 计划要求;不改生成文件
**Scale/Scope**: 文档归拢
## Constitution Check
- 遵循 `backend/llm.txt`(无代码改动)。
- 仅修改文档。
## Project Structure
```text
docs/
├── plan.md
├── seed_verification.md
└── backups/seed_verification.md
```
## Plan Phases
### Phase 1: Merge doc
- 将备份版检查表合并为正式版 `docs/seed_verification.md`
### Phase 2: Plan archive
- 将当前 plan 归档到 `docs/plans/<date>.md` 并清空 `docs/plan.md`
## Tasks
- [ ] T001 Merge backup checklist into docs/seed_verification.md
- [ ] T002 Archive plan to docs/plans/<date>.md and clear docs/plan.md
## Dependencies
- Phase 1 → Phase 2
## Acceptance Criteria
- `docs/seed_verification.md` 包含最新清单内容。
- `docs/plan.md` 归档并清空。
## Risks
-
## Complexity Tracking