Fix linting issues and finalize save-session implementation
Co-authored-by: pavelfeldman <883973+pavelfeldman@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user