feat(skill-tests): add form-add + form-compile steps to platform integration tests

Now that ExtendedPresentation and InterfaceCompatibilityMode bugs are fixed,
platform integration tests can include full form generation:
- platform-config: form-add + form-compile for Catalog and Document forms
- platform-epf: epf-add-form + form-compile with elements/attributes/commands
- platform-cfe: form-add + form-compile for borrowed Catalog form

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-29 19:17:25 +03:00
co-authored by Claude Opus 4.6
parent 72bad1aaaa
commit 70e684d189
3 changed files with 94 additions and 6 deletions
+22 -1
View File
@@ -28,7 +28,28 @@ export const steps = [
args: { '-ConfigPath': '{workDir}/config', '-DefinitionFile': '{inputFile}' },
},
// ── 2. Build extension (borrow without forms) ──
{
name: 'form-add: форма справочника',
script: 'form-add/scripts/form-add',
args: {
'-ObjectPath': '{workDir}/config/Catalogs/Контрагенты',
'-FormName': 'ФормаЭлемента',
'-Purpose': 'Object',
},
},
{
name: 'form-compile: наполнение формы справочника',
script: 'form-compile/scripts/form-compile',
input: {
elements: [
{ id: 'Код', type: 'input', path: 'Object.Code', title: 'Код' },
{ id: 'Наименование', type: 'input', path: 'Object.Description', title: 'Наименование' },
],
},
args: { '-FormPath': '{workDir}/config/Catalogs/Контрагенты/Forms/ФормаЭлемента', '-JsonPath': '{inputFile}' },
},
// ── 2. Build extension ──
{
name: 'cfe-init: расширение',
script: 'cfe-init/scripts/cfe-init',