Files
temp/features/actor_add_rich_output.feature
freemo 8ea00f5185 fix: restore CI quality tests to passing state (#4175)
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
2026-04-08 11:02:14 +00:00

68 lines
2.7 KiB
Gherkin

Feature: actor add rich output panels
As a user of the CleverAgents CLI
I want `agents actor add` to display all spec-required panels
So that I can see the full details of a newly added actor
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Actor Added panel includes Type field
Given an actor add CLI runner with a typed config
When I run actor add with the typed config
Then the actor added panel should contain the Type field
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Config panel is rendered after actor add
Given an actor add CLI runner with a typed config
When I run actor add with the typed config
Then the output should contain a Config panel
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Config panel shows Path, Hash, Options, Nodes, Edges
Given an actor add CLI runner with a typed config
When I run actor add with the typed config
Then the Config panel should show Path Hash Options Nodes and Edges
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Capabilities panel is rendered when capabilities are present
Given an actor add CLI runner with capabilities in config
When I run actor add with the capabilities config
Then the output should contain a Capabilities panel with the capability list
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Tools panel is rendered when tools are present
Given an actor add CLI runner with tools in config
When I run actor add with the tools config
Then the output should contain a Tools panel with tool rows
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Success status line is printed after all panels
Given an actor add CLI runner with a typed config
When I run actor add with the typed config
Then the output should end with the actor added success line
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: No Capabilities panel when capabilities list is empty
Given an actor add CLI runner with a typed config
When I run actor add with the typed config
Then the output should not contain a Capabilities panel
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: No Tools panel when tools list is empty
Given an actor add CLI runner with a typed config
When I run actor add with the typed config
Then the output should not contain a Tools panel
# @tdd_issue @tdd_issue_4231 @tdd_expected_fail @skip
@skip
Scenario: Non-rich format skips all extra panels
Given an actor add CLI runner with a typed config
When I run actor add with the typed config in json format
Then the output should be valid JSON without panels