-
-
Notifications
You must be signed in to change notification settings - Fork 745
Closed
Labels
status: needs-triageAwaiting initial triageAwaiting initial triage
Description
Problem
The workflow-elicitation module (.aios-core/core/elicitation/workflow-elicitation.js) has no unit test coverage. This module defines the progressive disclosure steps for creating new workflows.
Solution
Add comprehensive unit tests covering structure validation, conditional logic, validators, and filters.
Test Details
| Area | Tests | Key Scenarios |
|---|---|---|
| Structure | 4 | Array, titles, questions, required fields |
| Target Context | 7 | Choices, squad conditional, kebab-case validation |
| Basic Info | 6 | ID validation, smartDefault transform, description length, types |
| Triggers | 5 | Trigger types, schedule/event conditionals, filter |
| Inputs | 4 | Count validation, range, filter, conditional |
| Steps | 2 | Count range, definition methods |
| Dependencies | 3 | Condition, parallel validation, conditional |
| Error Handling | 2 | Strategy choices, notification conditional |
| Outputs | 2 | Description validation, required |
| Security | 3 | Auth conditional, roles, features |
| Total | 39 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: needs-triageAwaiting initial triageAwaiting initial triage