fix(tests): enable cyclic schema MCP tool test (#10912)

This commit is contained in:
Sandy Tao
2025-10-14 18:46:54 -07:00
committed by GitHub
parent dabe161a6f
commit 4f5b335792
5 changed files with 41 additions and 23 deletions
@@ -28,7 +28,7 @@ describe.skip('Interactive file system', () => {
// Step 1: Read the file
const readPrompt = `Read the version from ${fileName}`;
await run.type(readPrompt);
await run.type('\r');
await run.sendKeys('\r');
const readCall = await rig.waitForToolCall('read_file', 30000);
expect(readCall, 'Expected to find a read_file tool call').toBe(true);
@@ -38,7 +38,7 @@ describe.skip('Interactive file system', () => {
// Step 2: Write the file
const writePrompt = `now change the version to 1.0.1 in the file`;
await run.type(writePrompt);
await run.type('\r');
await run.sendKeys('\r');
await rig.expectToolCallSuccess(['write_file', 'replace'], 30000);