/** * 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})`) }