auto(bfc0cfa2c3a4): session end @ 2026-07-13T09:38:11 (+1f)
This commit is contained in:
1 parent
467da41a2b
commit
e81ffd3e56
1 file changed
+8
-7
@@ -33,12 +33,12 @@ import { resolve } from 'path'
|
||||
const execFileP = promisify(execFile)
|
||||
const DACLI_ROOT = resolve(__dirname, '../../../')
|
||||
|
||||
// 5 form 测试目标 (workSystem)
|
||||
// 5 form 测试目标 (workSystem) - Round 3 加深: 9 关卡
|
||||
const FORMS = [
|
||||
{ enCode: 'hesuanjiancedengji', formId: '469038006062344581', expectPass: 8 },
|
||||
{ enCode: 'testcustomer', formId: '468842471892247429', expectPass: 7 },
|
||||
{ enCode: 'hesuanjiancedengji', formId: '469038006062344581', expectPass: 9 },
|
||||
{ enCode: 'testcustomer', formId: '468842471892247429', expectPass: 8 },
|
||||
{ enCode: 'testreceivable', formId: '468826463014018501', expectPass: 6 },
|
||||
{ enCode: 'yaofangguanli', formId: '468849844170057541', expectPass: 8 },
|
||||
{ enCode: 'yaofangguanli', formId: '468849844170057541', expectPass: 9 },
|
||||
{ enCode: 'baomingguanli', formId: '468848215723140933', expectPass: 6 },
|
||||
]
|
||||
|
||||
@@ -88,12 +88,12 @@ describe('TC-C v0.21+ 加深 8 关卡 (静态 webapi 分析, 不依赖浏览器)
|
||||
output = await runRender(formId)
|
||||
}, 60000)
|
||||
|
||||
it(`总通过数 = ${expectPass} (baseline 已知状态)`, () => {
|
||||
it(`总通过数 = ${expectPass} (baseline 已知状态, 9 关卡)`, () => {
|
||||
expect(output.pass).toBe(expectPass)
|
||||
})
|
||||
|
||||
it(`失败数 = ${8 - expectPass}`, () => {
|
||||
expect(output.fail).toBe(8 - expectPass)
|
||||
it(`失败数 = ${9 - expectPass}`, () => {
|
||||
expect(output.fail).toBe(9 - expectPass)
|
||||
})
|
||||
|
||||
const expectedPages = [
|
||||
@@ -105,6 +105,7 @@ describe('TC-C v0.21+ 加深 8 关卡 (静态 webapi 分析, 不依赖浏览器)
|
||||
'字典绑定有效性 (dictionaryType 在 dict 表存在)',
|
||||
'formItem label 完整性',
|
||||
'必填字段 vs 控件类型',
|
||||
'columnList 子表字段引用',
|
||||
]
|
||||
|
||||
it.each(expectedPages)('关卡 "%s" 存在且状态有值', (pageName) => {
|
||||
|
||||
Reference in new issue
Block a user