Fix misleading browser_close message by adding resultOverride

Co-authored-by: Skn0tt <14912729+Skn0tt@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-06-20 09:23:29 +00:00
parent a5ffc9671b
commit 37973f0876
2 changed files with 7 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ test('test reopen browser', async ({ startClient, server, mcpMode }) => {
expect(await client.callTool({
name: 'browser_close',
})).toContainTextContent('No open pages available');
})).toContainTextContent('Browser closed successfully.');
expect(await client.callTool({
name: 'browser_navigate',