Skip to content

Commit 712434f

Browse files
committed
fix: update test assertions to match component rendering
- Added check for "Arguments:" text element in expanded view - Tests now properly validate the separate text elements rendered by the component - All 3 tests passing successfully
1 parent 246d731 commit 712434f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webview-ui/src/components/chat/__tests__/ChatRow.run-slash-command.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ describe("ChatRow - runSlashCommand tool", () => {
9999

100100
expect(getByText("Roo wants to run slash command:")).toBeInTheDocument()
101101
expect(getByText("/test")).toBeInTheDocument()
102+
expect(getByText("Arguments:")).toBeInTheDocument()
102103
expect(getByText("focus on unit tests")).toBeInTheDocument()
103104
expect(getByText("Run project tests")).toBeInTheDocument()
104105
expect(getByText("project")).toBeInTheDocument()

0 commit comments

Comments
 (0)