From 41dfa2d580f24e9ca5fca85a03e6d4946e9619dc Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Mon, 31 Aug 2026 21:08:46 +0530 Subject: [PATCH] test: update chrome-fallback npx fixture for the get-url response shape The fallback URL probe now uses 'get url' ({data:{url}}), not 'eval window.location.href' ({data:{result}}); the npx-resolution test's mocked response predates the #81673 change. --- tests/tools/test_browser_homebrew_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tools/test_browser_homebrew_paths.py b/tests/tools/test_browser_homebrew_paths.py index 1467d2cbaa..13669f1fe9 100644 --- a/tests/tools/test_browser_homebrew_paths.py +++ b/tests/tools/test_browser_homebrew_paths.py @@ -473,7 +473,7 @@ class TestRunChromeFallbackCommandNpxResolution: captured_cmds.append(cmd) return mock_proc - url_result = {"success": True, "data": {"result": "https://example.com"}} + url_result = {"success": True, "data": {"url": "https://example.com"}} with patch("tools.browser_tool._run_browser_command", return_value=url_result), \ patch("tools.browser_tool._find_agent_browser", return_value="npx agent-browser"), \