chore: add ui test execution plan
This commit is contained in:
81
docs/plan.md
81
docs/plan.md
@@ -0,0 +1,81 @@
|
||||
# Implementation Plan: Execute UI Testing Checklist
|
||||
|
||||
**Branch**: `main` | **Date**: 2026-02-03 | **Spec**: `docs/seed_verification.md`
|
||||
**Input**: 按 `docs/seed_verification.md` 的页面→操作→数据验证清单执行与核对。
|
||||
|
||||
**Note**: 本计划遵循 `docs/templates/plan-template.md`。
|
||||
|
||||
## Summary
|
||||
|
||||
依据 `docs/seed_verification.md` 的页面级检查表,系统性执行 Portal 与 Superadmin 的功能/数据验证,记录结果及缺口(支付流半成品、通知广播未落库等),并确认数据库与页面数据一致性。
|
||||
|
||||
## Technical Context
|
||||
|
||||
**Language/Version**: Vue 3 (Vite), Go 1.22, Chrome DevTools MCP
|
||||
**Primary Dependencies**: Vite dev servers, seeded PostgreSQL data
|
||||
**Storage**: PostgreSQL
|
||||
**Testing**: 页面自动化(MCP)+ 目测数据校验
|
||||
**Target Platform**: local/staging
|
||||
**Project Type**: Web application
|
||||
**Performance Goals**: N/A
|
||||
**Constraints**: 不改生成文件;遵循 `AGENTS.md` 规划要求
|
||||
**Scale/Scope**: UI 功能验证与数据一致性检查
|
||||
|
||||
## Constitution Check
|
||||
|
||||
- 遵循 `backend/llm.txt`(无代码改动)。
|
||||
- 仅执行/记录测试,不修改生成文件。
|
||||
|
||||
## Project Structure
|
||||
|
||||
```text
|
||||
docs/
|
||||
├── plan.md # 当前计划
|
||||
├── seed_verification.md # 测试清单(页面→操作→数据验证)
|
||||
└── plans/ # 归档目录
|
||||
```
|
||||
|
||||
## Plan Phases
|
||||
|
||||
### Phase 1: Portal 测试执行
|
||||
- 登录、首页/详情、订单/订单详情、已购、收藏/点赞、优惠券、钱包、通知、创作者入口。
|
||||
|
||||
### Phase 2: Superadmin 测试执行
|
||||
- 登录、Dashboard/Users/Tenants/Orders/Finance/Reports/Health/Contents/Assets/System Configs/Audit Logs、通知模板。
|
||||
|
||||
### Phase 3: 结果汇总与缺口记录
|
||||
- 汇总通过/失败项,更新缺口(支付流、通知广播、上传链路)。
|
||||
|
||||
## Tasks
|
||||
|
||||
**Format**: `[ID] [P?] [Story] Description`
|
||||
|
||||
### Phase 1 (Portal)
|
||||
- [ ] T001 [US0] 执行 Portal 测试清单(登录、主页、详情)
|
||||
- [ ] T002 [US0] 执行 Portal 订单/库/收藏/点赞/优惠券/钱包/通知/创作者检查
|
||||
|
||||
### Phase 2 (Superadmin)
|
||||
- [ ] T010 [US1] 执行 Superadmin 清单(Users/Tenants/Orders/Finance/Reports/Health/Contents/Assets 等)
|
||||
- [ ] T011 [US1] 验证通知模板编辑、系统配置、审计日志
|
||||
|
||||
### Phase 3 (Summary)
|
||||
- [ ] T020 [US2] 汇总结果与缺口(支付流半成品、通知广播未落库、上传未测)
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Phase 1 → Phase 2 → Phase 3
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- `docs/seed_verification.md` 中的页面/操作/数据验证项均执行并记录结果。
|
||||
- 已知缺口明确列出(支付流、广播通知、上传链路)。
|
||||
- 计划归档到 `docs/plans/<date>.md` 并清空 `docs/plan.md`。
|
||||
|
||||
## Risks
|
||||
|
||||
- 部分功能未实现(支付流、通知广播),导致验证失败。
|
||||
- 环境/端口变更需调整脚本。
|
||||
|
||||
## Complexity Tracking
|
||||
|
||||
无。
|
||||
|
||||
Reference in New Issue
Block a user