Test Packs
Use testPacks to sync test packs and test cases for a service.
Supported types
Test pack type:
smokeregressionmanual
Test case type:
apimanual
Config shape
testPacks:
- name: checkout-smoke
type: smoke
environment: production
releaseLabel: 2026.03
testCases:
- type: api
title: create-order returns 201
order: 1
apiGroupName: checkout-api
operationId: createOrder
expectedStatusCode: 201
requestTemplate: '{"amount":100}'
requiresEvidence: false
isCritical: true
- type: manual
title: checkout success path
order: 2
stepsList:
- action: Open checkout and submit a valid card
expectedResult: Payment is accepted
expectedOutcome: Order is placed and confirmation is shown
requiresEvidence: true
isCritical: true
Required fields
Pack level:
nametype
Case level:
typetitle
Supported pack fields
Pack fields currently supported by the CLI include:
nametypeenvironmentreleaseLabeltestCases
Supported test case fields
All test cases support:
typetitleorderdescriptionprioritytagslinkedTicketestimatedDurationMinstestOwnerrequiresEvidenceisCritical
API test cases can also include:
apiGroupNameoperationIdexpectedStatusCoderequestTemplateresponseTimeMsresponseBodyassertionsmapNameframeNamefocalPointName
Manual test cases can also include:
stepsListexpectedOutcomepreconditionstestDatapostconditions
Behavior
When running uigraph sync:
- CLI syncs each test pack first.
- CLI syncs all test cases inside that pack.
- CLI includes commit hash metadata when available.
Dry run prints test pack and test case summaries without sending data.
Notes
stepsListis the supported field for manual step sequences.apiGroupNameandoperationIdare most useful when your synced API spec includes stable OpenAPIoperationIdvalues.- The CLI validates pack and case types, but it does not fully validate cross-references such as whether a named API group already exists in UiGraph.