- 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
14 lines
742 B
JavaScript
14 lines
742 B
JavaScript
/**
|
||
* 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})`)
|
||
} |