diff --git a/artifacts/final-smoke/login-admin-default.png b/artifacts/final-smoke/login-admin-default.png deleted file mode 100644 index 179ffc2..0000000 Binary files a/artifacts/final-smoke/login-admin-default.png and /dev/null differ diff --git a/artifacts/final-smoke/login-page.png b/artifacts/final-smoke/login-page.png deleted file mode 100644 index 49f4383..0000000 Binary files a/artifacts/final-smoke/login-page.png and /dev/null differ diff --git a/artifacts/final-smoke/model-editor-dark-1920.png b/artifacts/final-smoke/model-editor-dark-1920.png deleted file mode 100644 index ac3b442..0000000 Binary files a/artifacts/final-smoke/model-editor-dark-1920.png and /dev/null differ diff --git a/artifacts/final-smoke/model-editor-light-1440.png b/artifacts/final-smoke/model-editor-light-1440.png deleted file mode 100644 index 52dfb70..0000000 Binary files a/artifacts/final-smoke/model-editor-light-1440.png and /dev/null differ diff --git a/artifacts/final-smoke/scene-editor-lan-loaded.png b/artifacts/final-smoke/scene-editor-lan-loaded.png deleted file mode 100644 index eda89d7..0000000 Binary files a/artifacts/final-smoke/scene-editor-lan-loaded.png and /dev/null differ diff --git a/artifacts/prototype-audit/01-training.png b/artifacts/prototype-audit/01-training.png deleted file mode 100644 index dfd9c15..0000000 Binary files a/artifacts/prototype-audit/01-training.png and /dev/null differ diff --git a/artifacts/prototype-audit/02-teacher-preview.png b/artifacts/prototype-audit/02-teacher-preview.png deleted file mode 100644 index 5f2cc55..0000000 Binary files a/artifacts/prototype-audit/02-teacher-preview.png and /dev/null differ diff --git a/artifacts/prototype-audit/03-records.png b/artifacts/prototype-audit/03-records.png deleted file mode 100644 index 1b72fef..0000000 Binary files a/artifacts/prototype-audit/03-records.png and /dev/null differ diff --git a/artifacts/prototype-audit/04-guides.png b/artifacts/prototype-audit/04-guides.png deleted file mode 100644 index 8ed938c..0000000 Binary files a/artifacts/prototype-audit/04-guides.png and /dev/null differ diff --git a/artifacts/prototype-audit/05-physical.png b/artifacts/prototype-audit/05-physical.png deleted file mode 100644 index aefe6b8..0000000 Binary files a/artifacts/prototype-audit/05-physical.png and /dev/null differ diff --git a/artifacts/prototype-audit/06-confrontation.png b/artifacts/prototype-audit/06-confrontation.png deleted file mode 100644 index ea06d7e..0000000 Binary files a/artifacts/prototype-audit/06-confrontation.png and /dev/null differ diff --git a/artifacts/prototype-audit/07-exams.png b/artifacts/prototype-audit/07-exams.png deleted file mode 100644 index d0c8120..0000000 Binary files a/artifacts/prototype-audit/07-exams.png and /dev/null differ diff --git a/artifacts/prototype-audit/08-immersive.png b/artifacts/prototype-audit/08-immersive.png deleted file mode 100644 index f417dac..0000000 Binary files a/artifacts/prototype-audit/08-immersive.png and /dev/null differ diff --git a/artifacts/prototype-audit/09-data-center.png b/artifacts/prototype-audit/09-data-center.png deleted file mode 100644 index f859b35..0000000 Binary files a/artifacts/prototype-audit/09-data-center.png and /dev/null differ diff --git a/artifacts/prototype-audit/10-physical-preview.png b/artifacts/prototype-audit/10-physical-preview.png deleted file mode 100644 index 5fc5739..0000000 Binary files a/artifacts/prototype-audit/10-physical-preview.png and /dev/null differ diff --git a/artifacts/prototype-teacher-preview.png b/artifacts/prototype-teacher-preview.png deleted file mode 100644 index 69a8313..0000000 Binary files a/artifacts/prototype-teacher-preview.png and /dev/null differ diff --git a/artifacts/prototype-training-list.png b/artifacts/prototype-training-list.png deleted file mode 100644 index d4cd7f2..0000000 Binary files a/artifacts/prototype-training-list.png and /dev/null differ diff --git a/artifacts/screenshots/.gitkeep b/artifacts/screenshots/.gitkeep deleted file mode 100644 index 8b13789..0000000 --- a/artifacts/screenshots/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/artifacts/screenshots/login-prototype-migration/login-desktop-final.png b/artifacts/screenshots/login-prototype-migration/login-desktop-final.png deleted file mode 100644 index 27a73ba..0000000 Binary files a/artifacts/screenshots/login-prototype-migration/login-desktop-final.png and /dev/null differ diff --git a/artifacts/screenshots/login-prototype-migration/login-desktop-initial.png b/artifacts/screenshots/login-prototype-migration/login-desktop-initial.png deleted file mode 100644 index 7f95af3..0000000 Binary files a/artifacts/screenshots/login-prototype-migration/login-desktop-initial.png and /dev/null differ diff --git a/artifacts/screenshots/login-prototype-migration/login-desktop-r2.png b/artifacts/screenshots/login-prototype-migration/login-desktop-r2.png deleted file mode 100644 index 12da522..0000000 Binary files a/artifacts/screenshots/login-prototype-migration/login-desktop-r2.png and /dev/null differ diff --git a/artifacts/screenshots/login-prototype-migration/login-mobile-final.png b/artifacts/screenshots/login-prototype-migration/login-mobile-final.png deleted file mode 100644 index 35ebb5f..0000000 Binary files a/artifacts/screenshots/login-prototype-migration/login-mobile-final.png and /dev/null differ diff --git a/artifacts/screenshots/login-prototype-migration/login-mobile-initial.png b/artifacts/screenshots/login-prototype-migration/login-mobile-initial.png deleted file mode 100644 index 8223fff..0000000 Binary files a/artifacts/screenshots/login-prototype-migration/login-mobile-initial.png and /dev/null differ diff --git a/artifacts/screenshots/login-prototype-migration/login-mobile-r2.png b/artifacts/screenshots/login-prototype-migration/login-mobile-r2.png deleted file mode 100644 index 10d71a3..0000000 Binary files a/artifacts/screenshots/login-prototype-migration/login-mobile-r2.png and /dev/null differ diff --git a/artifacts/内容制作测试报告.md b/artifacts/内容制作测试报告.md deleted file mode 100644 index 3bad971..0000000 --- a/artifacts/内容制作测试报告.md +++ /dev/null @@ -1,68 +0,0 @@ -# Unreal Tran 内容制作模块测试报告 - -- 执行时间:2026-08-09 10:46(Asia/Shanghai) -- 测试地址:`http://127.0.0.1:6180` -- 浏览器:Playwright Chromium -- 用例文件:`tests/content-authoring.spec.ts` -- 测试数据前缀:`UTE2E-CONTENT-<唯一值>` / `E2E_MODEL_<唯一值>` - -## 1. 结果摘要 - -| 指标 | 结果 | -|---|---:| -| 用例总数 | 1 | -| 通过 | 1 | -| 失败 | 0 | -| Playwright 用时 | 35.26 秒 | -| 业务测试数据清理 | 成功 | -| 临时认证夹具清理 | 成功 | -| 活动残留数据 | 0 | - -## 2. 覆盖范围 - -| 测试阶段 | 验证点 | 结果 | -|---|---|---| -| 真实登录 | 选择管理员角色,通过网关调用认证服务进入平台 | 通过 | -| 四类内容列表 | 模型、场景、训练项目、作业指导书从真实 API 加载 | 通过 | -| 搜索与重置 | 四类列表按关键字搜索无结果并恢复完整列表 | 通过 | -| 明暗主题 | 四类明亮列表、作业指导书暗黑列表可读 | 通过 | -| 模型新建 | 唯一编码、名称、分类、说明创建成功 | 通过 | -| 动态路由导航 | 编辑路由下内容制作一级菜单、模型管理二级菜单和面包屑保持正确 | 通过 | -| 结构化编辑 | 模型资源 URI、节点数、材质数、动画数保存 | 通过 | -| 资产元数据 | 资产编码、名称、URI、MIME、大小、SHA-256 和 JSON 元数据保存 | 通过 | -| 版本查看 | 版本列表可见,版本详情包含结构化内容和资产 | 通过 | -| 返回与检索 | 返回列表后按唯一编码检索到测试模型 | 通过 | -| 数据清理 | `finally` 删除测试模型,数据库复核无活动项目残留 | 通过 | - -## 3. 构建与自动化校验 - -- 后端:`mvn -q -pl ut_tran -am package`,Java 17,19 个测试全部通过。 -- 前端:`pnpm run build`,`vue-tsc --noEmit` 与 Vite 生产构建通过。 -- E2E 类型检查:`pnpm run typecheck` 通过。 -- E2E:`pnpm exec playwright test tests/content-authoring.spec.ts`,1 通过、0 失败。 -- 数据库残留复核:临时用户、会话、凭证、角色关系和 `E2E_MODEL_%` 活动项目均为 0。 - -## 4. 截图与报告制品 - -以下 9 张成功截图已保存到 `artifacts/screenshots/`,并附加在 HTML/JSON 报告中: - -- `content-models-light` -- `content-scenes-light` -- `content-training-light` -- `content-guides-light` -- `content-guides-dark` -- `content-model-editor-route-active` -- `content-model-version-previewed` -- `content-model-searched` -- `content-model-cleaned` - -其他制品: - -- HTML 报告:`artifacts/html-report/index.html` -- JSON 结果:`artifacts/results.json` -- Playwright 附件:`artifacts/test-results/` - -## 5. 非阻断提示 - -- Vite 主包仍有大于 500 kB 的构建告警,不影响本轮功能;后续可按页面继续拆包。 -- 当前列表响应已只返回轻量 `contentSummary`,但服务端仍需从当前版本工程 JSON 生成摘要。正式导入超大 Three.js 工程前,建议增加独立摘要字段或摘要表,降低列表查询的数据库 I/O。 diff --git a/artifacts/内容制作测试报告模板.md b/artifacts/内容制作测试报告模板.md deleted file mode 100644 index fa3cc26..0000000 --- a/artifacts/内容制作测试报告模板.md +++ /dev/null @@ -1,61 +0,0 @@ -# Unreal Tran 内容制作模块 E2E 测试报告 - -- 执行时间:`待填写(Asia/Shanghai)` -- 测试地址:`待填写,不记录账号或密码` -- 浏览器:Playwright Chromium -- 用例文件:`tests/content-authoring.spec.ts` -- 测试数据前缀:`UTE2E-CONTENT-<唯一值>` - -## 1. 结果摘要 - -| 指标 | 结果 | -|---|---:| -| 用例总数 | 待填写 | -| 通过 | 待填写 | -| 失败 | 待填写 | -| 清理成功 | 待填写 | -| 残留数据 | 待填写(无 / 项目编码) | - -## 2. 覆盖范围 - -| 测试阶段 | 验证点 | 结果 | -|---|---|---| -| 管理员登录 | 选择管理员角色并进入平台 | 待填写 | -| 四类内容列表 | 模型、场景、训练项目、作业指导书加载 | 待填写 | -| 搜索与重置 | 每类列表按唯一无匹配关键字搜索,再恢复完整列表 | 待填写 | -| 主题 | 明亮主题四类列表截图;暗黑主题内容列表截图 | 待填写 | -| 模型新建 | 唯一编码、名称、分类、说明创建成功 | 待填写 | -| 动态路由导航 | `/content/models/:id/edit` 下内容制作一级菜单、模型管理二级菜单保持活动态 | 待填写 | -| 结构化编辑 | 模型 URI、节点数、材质数、动画数保存 | 待填写 | -| 资产元数据 | 一条模型资产的编码、名称、URI、MIME、大小、SHA-256、JSON 元数据保存 | 待填写 | -| 版本查看 | 版本列表可见,版本抽屉包含结构化内容和资产 | 待填写 | -| 返回与检索 | 返回列表后按唯一编码找到测试模型 | 待填写 | -| 数据清理 | `finally` 删除测试模型;失败附件记录清理状态与可能残留 | 待填写 | - -## 3. 校验结果 - -- E2E TypeScript:`pnpm run typecheck` — 待填写。 -- Playwright 执行:`pnpm exec playwright test tests/content-authoring.spec.ts` — 待填写。 -- 服务启停:本测试不负责启动或停止 6100/6101/6102/6180 服务。 - -## 4. 截图清单 - -成功截图由 `captureScreenshot` 保存到 `artifacts/screenshots/` 并附加到 HTML/JSON 报告,预期包含: - -- `content-models-light` -- `content-scenes-light` -- `content-training-light` -- `content-guides-light` -- `content-guides-dark` -- `content-model-editor-route-active` -- `content-model-version-previewed` -- `content-model-searched` -- `content-model-cleaned` - -## 5. 清理与残留 - -- 清理状态:`待填写(removed / not-found / residual)` -- 残留项目编码:`无;若失败,填写 UTE2E-CONTENT-* 对应编码` -- 人工清理说明:进入“内容制作 → 模型管理”,按报告中的项目编码搜索并删除。 - -失败时,Playwright 报告附件“内容制作测试数据清理结果”会记录项目 ID、唯一编码和清理异常;附件不包含登录凭据。 diff --git a/artifacts/测试报告.md b/artifacts/测试报告.md deleted file mode 100644 index 52ce6c3..0000000 --- a/artifacts/测试报告.md +++ /dev/null @@ -1,40 +0,0 @@ -# Unreal Tran 系统表格与分页 E2E 测试报告 - -- 执行时间:2026-08-08 20:00(Asia/Shanghai) -- 测试地址:`http://127.0.0.1:6180` -- 浏览器:Playwright Chromium -- 数据来源:页面 API Mock(不写入业务数据库) - -## 1. 结果摘要 - -| 指标 | 结果 | -|---|---:| -| 用例总数 | 2 | -| 通过 | 2 | -| 失败 | 0 | - -## 2. 覆盖范围 - -| 用例 | 状态 | 主要覆盖 | -|---|---|---| -| 用户列表全局中文并支持部门树选择与再次点击取消 | 通过 | 部门筛选与人员列表独立卡片、部门及下级筛选、再次点击清除、中文分页、总数、页大小选择、跳转、表格边框和斑马线、正文与提示字号下限、启用/停用按钮颜色 | -| 审计表格与分页遵循系统统一规范 | 通过 | 审计表格边框和斑马线、总数、页大小选择、页码与跳转组件 | - -## 3. 构建与单元测试 - -- 前端 `pnpm run build`:`vue-tsc --noEmit` 与 Vite 构建通过。 -- E2E `pnpm run typecheck`:通过。 -- Java 17 `mvn -pl ut_auth -am test`:8 通过、0 失败。 -- Excel 导出单测验证:XLSX 文件可读取,首行冻结,首行自动筛选,表头使用平台主题色,内容区域四向细边框,用户显示名格式正确。 - -## 4. 制品 - -- [HTML 测试报告](./html-report/index.html) -- [JSON 测试结果](./results.json) -- [测试截图目录](./screenshots/) -- [失败 trace/video 目录](./test-results/) - -## 5. 非阻断提示 - -- Vite 构建仍提示主 chunk 大于 500 kB,不影响本轮功能。 -- 当前浏览器中的前台 API 进程需要由开发者重新启动后,才会加载新的 XLSX 导出实现;本轮未停止或替换用户正在查看日志的进程。 diff --git a/artifacts/菜单与内容升级测试报告.md b/artifacts/菜单与内容升级测试报告.md deleted file mode 100644 index 9362a15..0000000 --- a/artifacts/菜单与内容升级测试报告.md +++ /dev/null @@ -1,72 +0,0 @@ -# Unreal Tran 菜单与内容升级测试报告 - -- 执行时间:2026-08-09 12:17(Asia/Shanghai) -- 测试地址:`http://127.0.0.1:6180` -- 局域网地址:`http://192.168.31.168:6180` -- 浏览器:Playwright Chromium 1.55.0 -- 执行方式:单 Worker 串行,使用一次性管理员夹具 - -## 1. 结果摘要 - -| 指标 | 结果 | -|---|---:| -| 自动化用例 | 10 | -| 通过 | 9 | -| 失败 | 0 | -| 跳过 | 1 | -| Playwright 用时 | 97.91 秒 | -| 临时管理员清理 | 成功 | -| 菜单配置恢复 | 成功 | - -跳过项为“首次登录强制改密”。该用例要求独立、可修改密码且不能复用管理员的账号,本轮未提供这组专用凭据,因此按测试约定跳过,不影响菜单与内容制作验收。 - -## 2. 覆盖范围 - -| 模块 | 验证内容 | 结果 | -|---|---|---| -| 登录 | 四角色入口、管理员真实登录、错误角色拦截、安全退出 | 通过 | -| 导航 | 顶部一级+左侧二级、纯左侧、顶部下拉三种模式及持久化 | 通过 | -| 侧栏 | 展开/收起、刷新后保持、二级菜单可达 | 通过 | -| 主题 | 明亮、暗黑、跟随系统;暗黑文字和边界可读 | 通过 | -| 菜单管理 | 树表加载、搜索/重置、三布局预览、编辑草稿、同级排序、撤销 | 通过 | -| 菜单 API | 原子保存、乐观锁版本、保存后读取、按原始快照恢复 | 通过 | -| 内容制作 | 模型制作、场景制作、训练编排、作业指导四类列表及真实 API | 通过 | -| 训练编排 | 虚拟仿真、实装实训、对抗训练三形态统计、切换、卡片与封面回退 | 通过 | -| 内容工作流 | 新建、搜索、结构化编辑、资产、版本、子路由活动态、删除清理 | 通过 | -| 系统管理 | 用户、部门、角色、菜单、权限、审计、接口配置七页加载 | 通过 | -| 系统 CRUD | 部门/角色/用户创建编辑、授权、审计检索及清理 | 通过 | -| 统一规范 | 部门树筛选、中文分页、表格边框与斑马线、搜索与重置 | 通过 | - -## 3. 构建与服务验证 - -- Java 17:API 根项目 `mvn -q clean package` 通过。 -- `ut_auth`:18 项测试通过。 -- `ut_tran`:22 项测试通过。 -- Web:`pnpm run build` 通过,包含 `vue-tsc --noEmit` 与 Vite 生产构建。 -- E2E:`pnpm run typecheck` 通过。 -- 端口健康:6100、6101、6102、6180 均返回 HTTP 200。 -- 局域网访问:`192.168.31.168:6180` 返回 HTTP 200。 - -## 4. 数据库验证 - -- 已执行 `20260809_003_menu_management.sql`。 -- 目标:KingbaseES V008R006C009B0014,`public` schema。 -- 迁移后菜单权限 2/2、导航节点 29/29。 -- 执行前已备份 `ut_sys_permission` 与 `ut_sys_role_permission`。 -- 测试期间创建的临时管理员、会话、凭证和角色关系已在 `finally` 中物理清理。 -- 菜单真实保存测试在 `finally` 中恢复执行前完整名称与顺序,不使用“恢复默认”覆盖既有配置。 - -## 5. 制品 - -- [HTML 测试报告](./html-report/index.html) -- [JSON 测试结果](./results.json) -- [全部成功截图](./screenshots/) -- [菜单管理页面](./screenshots/chromium--system-pages.spec--系统管理七个页面均可加载--system-menus.png) -- [侧栏收起](./screenshots/chromium--preferences.spec--三种导航模式与三种主题可以持久化--sidebar-collapsed.png) -- [暗黑主题](./screenshots/chromium--preferences.spec--三种导航模式与三种主题可以持久化--theme-dark.png) -- [训练三形态](./screenshots/chromium--menu-content-navigation.spec--菜单草稿操作不落库且新版内容导航与子路由活动态正确--content-training-three-modes.png) - -## 6. 非阻断说明 - -- Vite 仍提示主 chunk 大于 500 kB;不影响本轮功能,后续可按编辑器/Element Plus 能力拆包。 -- 当前“下载”明确输出工程 JSON,不宣称为正式 OFD 文件;真实 OFD 排版/签章/导出引擎应作为后续独立能力建设。