Skip to content

Commit c38ae8e

Browse files
committed
Stabilize Freebuff agent startup e2e
1 parent 5320ea2 commit c38ae8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

freebuff/e2e/tests/agent-startup.e2e.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ describe('Freebuff: Agent-driven E2E', () => {
7272

7373
expect(result.output.type).not.toBe('error')
7474

75-
// Verify the agent used the tmux tools
75+
// Verify the agent exercised the startup path. The afterEach cleanup
76+
// handles stopping Freebuff deterministically if the agent finishes early.
7677
const toolCalls = events.filter((e) => e.type === 'tool_call')
7778
const toolNames = toolCalls.map((e) => e.toolName)
7879
expect(toolNames).toContain('start_freebuff')
7980
expect(toolNames).toContain('capture_freebuff_output')
80-
expect(toolNames).toContain('stop_freebuff')
8181
},
8282
AGENT_TEST_TIMEOUT,
8383
)

0 commit comments

Comments
 (0)