- boot/ (Java/Maven, JNPF 7.0) — 移除旧的 boot/.git,源码直接纳入仓库
- web/ (Vue 3 + Vite + Ant Design Vue, pnpm)
- docs/, scard/, nax/
- refs/INDEX.md + refs/国标/(其余 refs/* 开源子仓库不纳入)
- 已忽略: connector_data/, jweb/, log/, web/{dist,node_modules,.pnpm}, boot/*/target/, .DS_Store, .idea, .vscode
24 lines
1.2 KiB
JavaScript
24 lines
1.2 KiB
JavaScript
/**
|
|
* TC-CATALOG-007 · 查看使用申请的办理结果
|
|
* REQ-009 [FL-4.3] 正向/边界值 P1
|
|
*
|
|
* 前置:1. 已完成一次使用申请操作;2. 用户有查看记录的权限
|
|
* 步骤:1. 打开服务平台的【目录管理】;2. 查询刚办理的记录;3. 查看详情和相关记录
|
|
* 预期:能查到正确的使用申请结果,列表、详情和相关记录一致。
|
|
*/
|
|
export const meta = {
|
|
tc: "TC-CATALOG-007",
|
|
req: "REQ-009",
|
|
title: "查看使用申请的办理结果",
|
|
type: "正向/边界值",
|
|
priority: "P1",
|
|
route: "/tds/apply",
|
|
needs: ['be']
|
|
}
|
|
|
|
export async function run(t) {
|
|
await t.step('查询使用申请结果并核对详情', async () => {
|
|
await t.login(); const list=await t.apiList('/api/ssw/tds/DataApply'); if(!list.length)t.skip('没有已完成使用申请记录'); const x=list[0]; const d=await t.api('GET','/api/ssw/tds/DataApply/'+x.id); t.assert(d && d.code === 200, "使用申请详情接口返回成功"); const detail=d.data??d; t.assert(detail.id===x.id && detail.productId===x.productId,'使用申请列表、详情和产品关联一致'); t.assert(detail.status===x.status,'使用申请状态与列表一致');
|
|
}); t.expectConsoleClean()
|
|
}
|