auto(6f177c177d02): session end @ 2026-06-14T08:04:54 (+27f)
This commit is contained in:
1 parent
44c0d51907
commit
0fbc478e16
27 files changed
+60
-848
No files matched your search
@@ -2,7 +2,7 @@
|
||||
* tests/e2e/baseline/developSystem/regression.spec.ts
|
||||
*
|
||||
* developSystem baseline 回归测试 (API 层 0 错):
|
||||
* - switch-app 切到 developSystem
|
||||
* - switchapp 切到 developSystem
|
||||
* - 拿 form list
|
||||
* - 对每张表单跑 info 验证 schema 完整
|
||||
* - 汇总 PASS / FAIL
|
||||
@@ -26,9 +26,9 @@ function dacli(args: string): string {
|
||||
|
||||
test.describe.configure({ mode: 'serial' })
|
||||
|
||||
test(`switch-app ${APP_CODE} 成功`, () => {
|
||||
// switch-app --force 在 client.ts:fromToken 里被读 forceLogin
|
||||
dacli(`switch-app --appCode=${APP_CODE}`)
|
||||
test(`switchapp ${APP_CODE} 成功`, () => {
|
||||
// switchapp --force 在 client.ts:fromToken 里被读 forceLogin
|
||||
dacli(`switchapp --appCode=${APP_CODE}`)
|
||||
const st = dacli(`status`)
|
||||
expect(st).toContain(APP_CODE)
|
||||
})
|
||||
@@ -82,7 +82,7 @@ test('每张 form info 都能拿到完整 schema', () => {
|
||||
})
|
||||
|
||||
test('workSystem form list 同样通 (真总数 85)', () => {
|
||||
dacli(`switch-app --appCode=workSystem`)
|
||||
dacli(`switchapp --appCode=workSystem`)
|
||||
const out = dacli(`form list --limit=200 --json`)
|
||||
const json = JSON.parse(out) as { list: FormRow[] }
|
||||
expect(json.list.length).toBeGreaterThanOrEqual(80)
|
||||
|
||||
Reference in new issue
Block a user