diff --git a/integration-tests/interactive/file-system-interactive.test.ts b/integration-tests/interactive/file-system-interactive.test.ts index 7bc56461e58..7c1e2f9f483 100644 --- a/integration-tests/interactive/file-system-interactive.test.ts +++ b/integration-tests/interactive/file-system-interactive.test.ts @@ -36,7 +36,7 @@ describe('Interactive file system', () => { const { ptyProcess } = rig.runInteractive(); // Wait for the app to be ready - const isReady = await rig.waitForText('Type your message', 15000); + const isReady = await rig.waitForText('Type your message'); expect( isReady, 'CLI did not start up in interactive mode correctly', @@ -47,10 +47,10 @@ describe('Interactive file system', () => { await type(ptyProcess, readPrompt); await type(ptyProcess, '\r'); - const readCall = await rig.waitForToolCall('read_file', 30000); + const readCall = await rig.waitForToolCall('read_file'); expect(readCall, 'Expected to find a read_file tool call').toBe(true); - const containsExpectedVersion = await rig.waitForText('1.0.0', 15000); + const containsExpectedVersion = await rig.waitForText('1.0.0'); expect( containsExpectedVersion, 'Expected to see version "1.0.0" in output', @@ -61,10 +61,7 @@ describe('Interactive file system', () => { await type(ptyProcess, writePrompt); await type(ptyProcess, '\r'); - const toolCall = await rig.waitForAnyToolCall( - ['write_file', 'edit'], - 30000, - ); + const toolCall = await rig.waitForAnyToolCall(['write_file', 'edit']); if (!toolCall) { printDebugInfo(rig, rig._interactiveOutput, {