Skip to content

Commit 4513eb6

Browse files
jsturtevantCopilot
andcommitted
fix: update stale acceptance test assertions to match current CLI output
Feature files referenced old output strings ("Getting Started", "Here:", "Scaffold ready") that no longer exist in the CLI help, status, and init output. Updated to match actual output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d55595c commit 4513eb6

5 files changed

Lines changed: 6 additions & 11 deletions

File tree

‎test/acceptance/features/help-comprehensive.feature‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ Feature: Help comprehensive
33
Scenario: Help lists all core commands
44
When I run "squad help"
55
Then the output contains "Usage:"
6-
And the output contains "Getting Started"
7-
And the output contains "Development"
8-
And the output contains "Team Management"
9-
And the output contains "Utilities"
6+
And the output contains "Commands:"
107
And the output contains "init"
118
And the output contains "upgrade"
129
And the output contains "status"

‎test/acceptance/features/help.feature‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ Feature: Help screen
33
Scenario: Show help with --help flag
44
When I run "squad --help"
55
Then the output contains "Usage:"
6-
And the output contains "Getting Started"
6+
And the output contains "Commands:"
77
And the output contains "init"
8-
And the output contains "squad <command> --help"
98
And the exit code is 0
109

1110
Scenario: Show help with help command

‎test/acceptance/features/init-command.feature‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ Feature: Init command
33
Scenario: Init in existing project shows ready message
44
Given the current directory has a ".squad" directory
55
When I run "squad init"
6-
Then the output contains "Scaffold ready"
7-
And the output contains "already exists"
6+
Then the output contains "already exists"
87
And the exit code is 0
98

109
Scenario: Init exit code is zero on success

‎test/acceptance/features/status-extended.feature‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Feature: Status command extended
44
Given the current directory has a ".squad" directory
55
When I run "squad status"
66
Then the output contains "Squad Status"
7-
And the output contains "Here:"
7+
And the output contains "Active squad:"
88
And the output contains "Path:"
99
And the exit code is 0
1010

1111
Scenario: Status in directory without squad shows no active squad
1212
Given a directory without a ".squad" directory
1313
When I run "squad status" in the temp directory
14-
Then the output does not contain "Here: repo"
14+
Then the output does not contain "Active squad: repo"
1515
And the exit code is 0

‎test/acceptance/features/status.feature‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ Feature: Status command
44
Given the current directory has a ".squad" directory
55
When I run "squad status"
66
Then the output contains "Squad Status"
7-
And the output contains "Here:"
7+
And the output contains "Active squad:"
88
And the exit code is 0

0 commit comments

Comments
 (0)