diff --git a/scripts/projectdev/build-full-flow-report.cjs b/scripts/projectdev/build-full-flow-report.cjs index f388f4e..20717da 100644 --- a/scripts/projectdev/build-full-flow-report.cjs +++ b/scripts/projectdev/build-full-flow-report.cjs @@ -45,7 +45,7 @@ const html=`部分到货成功、部分验收失败可续办部分失败时保留成功结果,可单独重试当前可退数量、已入库与已退货真实可退数量及两种后续处理,1024×600 效果借还数量与归还操作借还连续操作模拟项目总览及待办项目详情加载恢复与待办

查看全部 ${pages.results.length} 个页面截图

${api.summary.total} 个接口明细

认证通过只表示访问控制符合预期。下表区分实际读取、导出和未执行的真实写入,避免把“接口能响应”当作“全部业务条件均通过”。

${api.endpoints.map(r=>``).join('')}
方法路径登录校验业务调用结果
${esc(r.method)}${esc(r.path)}${esc(resultLabel(r.tests.authentication?.result))}${esc(resultLabel((r.tests.read||r.tests.export||r.tests.businessWrite)?.result))}${(r.tests.read||r.tests.export)?.message?`
${esc((r.tests.read||r.tests.export).message)}`:''}${r.tests.read?.reason?`
${esc(r.tests.read.reason)}`:''}
-

测试记录与边界

数据库测试夹具均回滚,排除了会提交未来月份编号的并发测试。除用户要求移除的菜单及角色关联外,没有以测试名义改写现有项目、采购、库存或生产单据。正常登录/读取/导出可能留下系统访问审计日志。

未实际触发外部 AI 服务、执行定时任务、清空缓存/日志、重置真实用户密码、建数据库表、生成代码覆盖本机文件;这类接口做了认证检查,不能据此声称其真实操作结果已验收。${api.summary.missingFixtures} 个缺少有效样本/历史限制调用详见接口明细。此报告也不宣称覆盖了所有数据组合或完成压力测试。

+

测试记录与边界

数据库测试夹具均回滚,排除了会提交未来月份编号的并发测试。菜单和专用权限的调整不涉及现有项目、采购、库存或生产单据。用户澄清后,项目协作菜单入口已恢复;此次仅恢复入口,未扩大角色授权,已单独验证路由、刷新和菜单树。正常登录/读取/导出可能留下系统访问审计日志。

未实际触发外部 AI 服务、执行定时任务、清空缓存/日志、重置真实用户密码、建数据库表、生成代码覆盖本机文件;这类接口做了认证检查,不能据此声称其真实操作结果已验收。${api.summary.missingFixtures} 个缺少有效样本/历史限制调用详见接口明细。此报告也不宣称覆盖了所有数据组合或完成压力测试。

前端 ${ui.selected} 组回归${ui.results.map(r=>``).join('')}
${esc(r.file)}${esc(r.status)}${r.seconds}s
后端 ${totals.tests} 项测试,${suites.length} 个测试类${suites.map(r=>``).join('')}
${esc(r.name.replace('com.ruoyi.',''))}${r.tests} 项失败 ${r.failures} / 错误 ${r.errors}

接口 JSON · 前端回归 JSON · 生产/借还模拟记录 · 项目模拟记录

diff --git a/scripts/projectdev/vue3-legacy-pages-regression.cjs b/scripts/projectdev/vue3-legacy-pages-regression.cjs index bab62af..1b3c0f9 100644 --- a/scripts/projectdev/vue3-legacy-pages-regression.cjs +++ b/scripts/projectdev/vue3-legacy-pages-regression.cjs @@ -21,13 +21,13 @@ const {chromium,frontend,backend,username,password}=require('./vue3-test-runtime await page.goto(frontend+'/index');await page.waitForLoadState('networkidle') assert.ok(await page.locator('.home-stat-icon svg').count()>0,'statistics use visible SVG icons');assert.ok(await page.locator('.home-shortcut svg').count()>0) const lists=[['system/config/index.vue','/system/config/list'],['system/dept/index.vue','/system/dept/list'],['system/menu/index.vue','/system/menu/list'],['system/post/index.vue','/system/post/list'],['system/role/index.vue','/system/role/list'],['system/user/index.vue','/system/user/list'],['system/dict/index.vue','/system/dict/type/list'],['system/dict/data.vue','/system/dict/data/list'],['monitor/logininfor/index.vue','/monitor/logininfor/list'],['monitor/online/index.vue','/monitor/online/list'],['monitor/operlog/index.vue','/monitor/operlog/list'],['monitor/job/index.vue','/monitor/job/list'],['monitor/job/log.vue','/monitor/jobLog/list'],['tool/gen/index.vue','/tool/gen/list']] - await page.evaluate(async lists=>{const router=document.querySelector('#app').__vue_app__.config.globalProperties.$router,{default:Layout}=await import('/src/layout/index.vue');for(let i=0;i{await document.querySelector('#app').__vue_app__.config.globalProperties.$router.push(url)},url);await page.waitForLoadState('networkidle')} await navigate('/project/collaboration') await page.locator('.collaboration-entry').getByText('项目协作功能待接入',{exact:true}).waitFor() assert.equal(await page.locator('.collaboration-entry .project-workspace').count(),0,'independent entry must not restore the removed replacement business UI') await page.reload();await page.locator('.collaboration-entry').getByText('项目协作功能待接入',{exact:true}).waitFor() console.log('PASS independent collaboration menu entry resolves and refreshes without restoring removed business functions') + await page.evaluate(async lists=>{const router=document.querySelector('#app').__vue_app__.config.globalProperties.$router,{default:Layout}=await import('/src/layout/index.vue');for(let i=0;i