forked from HAL9000/cleveragents-core
8ea00f5185
Co-authored-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Co-committed-by: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
28 lines
1.3 KiB
Gherkin
28 lines
1.3 KiB
Gherkin
Feature: agents actor remove Impact section shows real counts
|
|
As a user removing an actor
|
|
I want the Impact panel to show real counts of affected sessions, plans, and actions
|
|
So that I can verify the actual impact before and after removal
|
|
|
|
Background:
|
|
Given an actor CLI runner
|
|
|
|
# @tdd_issue @tdd_issue_4234 @tdd_expected_fail @skip
|
|
@skip
|
|
Scenario: Impact panel shows non-zero counts when actor is referenced
|
|
Given an actor "local/my-actor" referenced by 2 sessions, 1 active plan, and 3 actions
|
|
When I run actor remove for "local/my-actor"
|
|
Then the actor remove should succeed
|
|
And the Impact panel should show "2 affected" for Sessions
|
|
And the Impact panel should show "1 affected" for Active Plans
|
|
And the Impact panel should show "3" for Actions Referencing
|
|
|
|
# @tdd_issue @tdd_issue_4234 @tdd_expected_fail @skip
|
|
@skip
|
|
Scenario: Impact panel shows zero counts when actor has no references
|
|
Given an actor "local/unused-actor" with no references
|
|
When I run actor remove for "local/unused-actor"
|
|
Then the actor remove should succeed
|
|
And the Impact panel should show "0 affected" for Sessions
|
|
And the Impact panel should show "0 affected" for Active Plans
|
|
And the Impact panel should show "0" for Actions Referencing
|