- e2e: fix 9 failing cases (contract/hosting/delivery/usage/security); add dsl.createSandboxTask() self-provision helper; cli/runner now default headless, --ob opens visible browser - backend: tdc/tds controller adjustments (delivery, hosting, contract, chain-evidence, catalog, product, policy-conflict, etc.) - web: ssw views/components adjustments (contract, product, hosting, connector) - docs: AGENTS.md, e2e README; .gitignore; project memory update Excludes docs/e2e/results artifacts (screenshots + results.json).
14 lines
668 B
JavaScript
14 lines
668 B
JavaScript
/**
|
|
* TC-CONTRACT-014 · 查看合约备案的办理结果
|
|
* REQ-012 [FL-5.2] 反向/错误推测 P1
|
|
*/
|
|
export const meta = { tc: 'TC-CONTRACT-014', req: 'REQ-012', title: '查看合约备案的办理结果', type: '反向/错误推测', priority: 'P1', route: '/tds/contracts', needs: ['fe','be'] }
|
|
export async function run(t) {
|
|
await t.login()
|
|
await t.goto('/tds/chain')
|
|
await t.expectTitle('区块链存证')
|
|
const list = await t.apiList('/api/ssw/tds/ChainEvidence/List')
|
|
if (!list.length) t.skip('暂无链上存证,先跑 TC-CONTRACT-012')
|
|
await t.expectVisible('.ant-table', '存证记录可查')
|
|
await t.shot('TC-CONTRACT-014-evidence')
|
|
} |