Files
ssw-mvp/docs/e2e/cases/TC-PRODUCT_API-015.mjs
admin 3247e9fd15 init: ssw-mvp initial commit
- 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
2026-08-05 18:29:12 +08:00

15 lines
786 B
JavaScript

/**
* TC-PRODUCT_API-015 · 查看数据产品使用申请的办理结果
* REQ-016 [FL-4.4] 反向/错误推测 P1
*/
export const meta = { tc: 'TC-PRODUCT_API-015', req: 'REQ-016', title: '查看数据产品使用申请的办理结果', type: '反向/错误推测', priority: 'P1', needs: ['be'] }
export async function run(t) {
await t.login()
// 数据使用申请的可查点:TDS 的 DataApply 页面接口、TDC 的 ApiGateway 调用日志
await t.goto('/tds/apply')
await t.expectTitle('数据使用申请')
await t.expectVisible('.ant-table', '申请列表可查')
const logs = await t.apiList('/api/ssw/tdc/ApiGateway/Logs')
t.assert(Array.isArray(logs), `ApiGateway 调用日志接口可用(${logs.length} 条)`)
await t.shot('TC-PRODUCT_API-015')
}