Files
ssw-mvp/docs/e2e/cases/TC-COMPLIANCE_API-001.mjs
T
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

14 lines
742 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* TC-COMPLIANCE_API-001 · 正常办理运行日志上报(接口)
* REQ-029 [FL-15.x] 正向/场景法 P0
*/
export const meta = { tc: 'TC-COMPLIANCE_API-001', req: 'REQ-029', title: '正常办理运行日志上报', type: '正向/场景法', priority: 'P0', needs: ['be'] }
export async function run(t) {
await t.login()
const before = (await t.apiList('/api/ssw/tds/Regulatory/RunSummary')).length
const r = await t.api('GET', '/api/ssw/tds/Regulatory/SpaceReport')
t.assert(r.code === 200, `日志上报:code=${r.code} msg=${r.msg || ''}`)
await t.waitIdle()
const after = (await t.apiList('/api/ssw/tds/Regulatory/RunSummary')).length
t.assert(after >= before, `日志表新增(${before} → ${after})`)
}