Fix linting issues and finalize save-session implementation

Co-authored-by: pavelfeldman <883973+pavelfeldman@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-21 01:02:43 +00:00
parent f00f78491a
commit 9588845cc3
3 changed files with 11 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ test('check that session includes multiple tool calls', async ({ startClient, se
arguments: { url: server.HELLO_WORLD },
});
// Take a snapshot
// Take a snapshot
await client.callTool({
name: 'browser_snapshot',
arguments: {},
@@ -71,8 +71,8 @@ test('check that session includes multiple tool calls', async ({ startClient, se
const sessionContent = fs.readFileSync(path.join(outputDir, sessionFiles[0]), 'utf8');
expect(sessionContent).toContain('- browser_navigate:');
expect(sessionContent).toContain('- browser_snapshot:');
// Check that snapshot files exist
const snapshotFiles = files.filter(f => f.includes('snapshot.yaml'));
expect(snapshotFiles.length).toBeGreaterThan(0);
});
});